summaryrefslogtreecommitdiff
path: root/apps/x11_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/x11_main.c')
-rw-r--r--apps/x11_main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/x11_main.c b/apps/x11_main.c
index 9933242a..f4f8b24f 100644
--- a/apps/x11_main.c
+++ b/apps/x11_main.c
@@ -273,6 +273,11 @@ int wingetsavepath(pdfapp_t *app, char *buf, int len)
return 0;
}
+void winreplacefile(char *source, char *target)
+{
+ rename(source, target);
+}
+
void cleanup(pdfapp_t *app)
{
fz_context *ctx = app->ctx;