diff options
author | jstebbins <[email protected]> | 2009-09-02 23:57:32 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-09-02 23:57:32 +0000 |
commit | 5bf69a2c0b11cea8438737c9973cfe670eedca63 (patch) | |
tree | 047b60bf44fba669c44dc5c0f5d6f18b806378a3 /gtk/src/callbacks.c | |
parent | b75907bdeb3675bdd8d9362e0e18add00e4e2c62 (diff) |
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
Diffstat (limited to 'gtk/src/callbacks.c')
-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) { |