summaryrefslogtreecommitdiff
path: root/gtk/gtk_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtk_gui.c')
-rw-r--r--gtk/gtk_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtk_gui.c b/gtk/gtk_gui.c
index 61320565b..4757e77aa 100644
--- a/gtk/gtk_gui.c
+++ b/gtk/gtk_gui.c
@@ -988,7 +988,7 @@ char *filename_from_path(char *path)
* \return true on success
*/
-bool path_add_part(char *path, int length, char *newpart)
+bool path_add_part(char *path, int length, const char *newpart)
{
if(path[strlen(path) - 1] != '/')
strncat(path, "/", length);