diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-14 16:57:24 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-14 16:57:24 +0000 |
commit | cb2e693d2246c450842810b1e49452a49489938a (patch) | |
tree | 65aab297cadf1ee00244e09808b69267f918de68 /Gui/mplayer/gtk/mb.c | |
parent | 812a300c262ce94a4c161d424619624081a93297 (diff) | |
download | mpv-cb2e693d2246c450842810b1e49452a49489938a.tar.bz2 mpv-cb2e693d2246c450842810b1e49452a49489938a.tar.xz |
Mark several string parameters that are not modified in the function as const.
patch by Stefan Huehner, stefan at huehner org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19086 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer/gtk/mb.c')
-rw-r--r-- | Gui/mplayer/gtk/mb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Gui/mplayer/gtk/mb.c b/Gui/mplayer/gtk/mb.c index 576f53a8b4..75c4b68c72 100644 --- a/Gui/mplayer/gtk/mb.c +++ b/Gui/mplayer/gtk/mb.c @@ -13,7 +13,7 @@ GtkWidget * gtkMessageBoxText; GtkWidget * MessageBox = NULL; -void ShowMessageBox( char * msg ) +void ShowMessageBox( const char * msg ) { if ( MessageBox ) { gtk_widget_hide( MessageBox ); gtk_widget_destroy( MessageBox ); } MessageBox=create_MessageBox( 0 ); |