[MPlayer-cvslog] r36063 - trunk/gui/dialog/fileselect.c
ib
subversion at mplayerhq.hu
Wed Mar 27 19:58:32 CET 2013
Author: ib
Date: Wed Mar 27 19:58:32 2013
New Revision: 36063
Log:
Change variable definitions to const.
Additionally, rename fsThatDir fsThisDir.
Modified:
trunk/gui/dialog/fileselect.c
Modified: trunk/gui/dialog/fileselect.c
==============================================================================
--- trunk/gui/dialog/fileselect.c Wed Mar 27 19:57:09 2013 (r36062)
+++ trunk/gui/dialog/fileselect.c Wed Mar 27 19:58:32 2013 (r36063)
@@ -56,8 +56,8 @@
char * get_current_dir_name( void );
#endif
-char * fsSelectedFile = NULL;
-unsigned char * fsThatDir = ".";
+const char * fsSelectedFile = NULL;
+const char * fsThisDir = ".";
const gchar * fsFilter = "*";
int fsType = 0;
@@ -376,7 +376,7 @@ static void fs_Up_released( GtkButton *
utf8dir = get_current_dir_name_utf8();
gtk_entry_set_text( GTK_ENTRY( fsPathCombo ),utf8dir );
g_free(utf8dir);
- fsSelectedFile=fsThatDir;
+ fsSelectedFile=fsThisDir;
return;
}
@@ -396,7 +396,7 @@ static void fs_Ok_released( GtkButton *
gtk_entry_set_text( GTK_ENTRY( fsPathCombo ),utf8dir );
g_free(utf8dir);
gtk_widget_grab_focus( fsFNameList );
- fsSelectedFile=fsThatDir;
+ fsSelectedFile=fsThisDir;
return;
}
More information about the MPlayer-cvslog
mailing list