diff options
Diffstat (limited to 'gtk/src')
-rw-r--r-- | gtk/src/callbacks.c | 4 | ||||
-rw-r--r-- | gtk/src/ghb.ui | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c index f25e6e563..ab7cb31d8 100644 --- a/gtk/src/callbacks.c +++ b/gtk/src/callbacks.c @@ -393,7 +393,7 @@ get_direct_dvd_volume_name(const gchar *drive) gchar *result = NULL; gchar vname[51], fsname[51]; - if (GetVolumeInformation(drive, vname, 50, NULL, NULL, NULL, fsname, 51)) + if (GetVolumeInformation(drive, vname, 50, NULL, NULL, NULL, fsname, 50)) { result = g_strdup_printf("%s", vname); } @@ -656,7 +656,6 @@ update_source_label(signal_user_data_t *ud, const gchar *source, gboolean update g_debug("update_source_label()"); len = strlen(filename); - if (filename[len-1] == G_DIR_SEPARATOR) filename[len-1] = 0; if (g_file_test(filename, G_FILE_TEST_IS_DIR)) { // Skip dos drive letters @@ -671,6 +670,7 @@ update_source_label(signal_user_data_t *ud, const gchar *source, gboolean update } else { + if (filename[len-1] == G_DIR_SEPARATOR) filename[len-1] = 0; if (start != NULL) start++; else diff --git a/gtk/src/ghb.ui b/gtk/src/ghb.ui index e7eed9cfd..608743f4a 100644 --- a/gtk/src/ghb.ui +++ b/gtk/src/ghb.ui @@ -3443,7 +3443,7 @@ no-dct-decimate=0:cabac=1</property> </packing> </child> <child> - <object class="GtkAlignment" id="alignment66"> + <object class="GtkAlignment" id="alignment71"> <property name="visible">True</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> <property name="left_padding">12</property> @@ -4016,7 +4016,7 @@ no-dct-decimate=0:cabac=1</property> </packing> </child> <child> - <object class="GtkAlignment" id="alignment61"> + <object class="GtkAlignment" id="alignment70"> <property name="visible">True</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> <property name="yscale">0</property> |