openbsd-ports/palm/pose/patches/patch-SrcUnix_EmDocumentUnix_cpp
2007-04-01 17:50:25 +00:00

13 lines
542 B
Plaintext

$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&
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)