From 5bf69a2c0b11cea8438737c9973cfe670eedca63 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Wed, 2 Sep 2009 23:57:32 +0000 Subject: [PATCH] LinGui: only strip leading drive letters if compiled for windows git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2801 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- gtk/src/callbacks.c | 2 ++ 1 file changed, 2 insertions(+) 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) { -- 2.40.0