diff options
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/src/callbacks.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c index eda462875..75cc32402 100644 --- a/gtk/src/callbacks.c +++ b/gtk/src/callbacks.c @@ -657,7 +657,9 @@ update_source_label(signal_user_data_t *ud, const gchar *source, gboolean update if (g_file_test(filename, G_FILE_TEST_IS_DIR)) { // Skip dos drive letters +#if defined(_WIN32) start = strchr(filename, ':'); +#endif label = resolve_drive_name(filename); if (label != NULL) { |