summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gtk/src/callbacks.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c
index 75cc32402..521fa3d69 100644
--- a/gtk/src/callbacks.c
+++ b/gtk/src/callbacks.c
@@ -659,6 +659,8 @@ update_source_label(signal_user_data_t *ud, const gchar *source, gboolean update
// Skip dos drive letters
#if defined(_WIN32)
start = strchr(filename, ':');
+#else
+ start = filename;
#endif
label = resolve_drive_name(filename);
if (label != NULL)