0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 13:46:16 +00:00
termux-packages/x11-packages/fontforge-gtk/fontforge-cvundoes.c.patch
2022-05-18 08:12:59 +09:00

12 lines
387 B
Diff

--- a/fontforge/cvundoes.c
+++ b/fontforge/cvundoes.c
@@ -3875,7 +3875,7 @@
{
int idx = 0;
char filename[PATH_MAX];
- snprintf(filename, PATH_MAX, "/tmp/fontforge-undo-to-string.sfd");
+ snprintf(filename, PATH_MAX, "@TERMUX_PREFIX@/tmp/fontforge-undo-to-string.sfd");
FILE* f = fopen( filename, "w" );
SFDDumpUndo( f, sc, undo, "Undo", idx );
fclose(f);