openbsd-ports/palm/pose/patches/patch-SrcUnix_EmDocumentUnix_cpp

13 lines
542 B
Plaintext
Raw Normal View History

2007-04-01 13:50:25 -04:00
$OpenBSD: patch-SrcUnix_EmDocumentUnix_cpp,v 1.2 2007/04/01 17:50:25 martynas Exp $
--- SrcUnix/EmDocumentUnix.cpp.orig Fri Mar 29 15:11:19 2002
+++ SrcUnix/EmDocumentUnix.cpp Sun Apr 1 17:53:43 2007
@@ -95,7 +95,7 @@ void EmDocumentUnix::HostSaveScreen (const EmFileRef&
2006-10-19 12:24:51 -04:00
string fullPath = destRef.GetFullPath ();
char* fNameExt = (char*) malloc (fullPath.size () + 4);
strcpy (fNameExt, fullPath.c_str ());
- filename_setext (fNameExt, ".ppm");
+ fl_filename_setext (fNameExt, ".ppm");
FILE* f = fopen (fNameExt, "wb");
if (f)