summaryrefslogtreecommitdiff
path: root/fluid/template_panel.fl
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2017-10-15 10:18:53 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2017-10-15 10:18:53 +0000
commit41f92be2f19e771820c12a4c528896e9133545f4 (patch)
tree5c5697637c31db6dc2cb897ca57c5fc31f356807 /fluid/template_panel.fl
parent6bfa08c63d75ea8883952dc1ea3a7da5f3da73c7 (diff)
Replace remaining calls to unlink() with fl_unlink().
Tested under Linux, MinGW, and Visual Studio 2015. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12496 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/template_panel.fl')
-rw-r--r--fluid/template_panel.fl2
1 files changed, 1 insertions, 1 deletions
diff --git a/fluid/template_panel.fl b/fluid/template_panel.fl
index fd145c5c2..fd6a1d5e1 100644
--- a/fluid/template_panel.fl
+++ b/fluid/template_panel.fl
@@ -197,7 +197,7 @@ if (!flfile) return;
if (!fl_choice("Are you sure you want to delete the template \\"%s\\"?",
"Cancel", "Delete", 0, name)) return;
-if (unlink(flfile)) {
+if (fl_unlink(flfile)) {
fl_alert("Unable to delete template \\"%s\\":\\n%s", name, strerror(errno));
return;
}