[MPlayer-cvslog] r36062 - in trunk/gui: ui/actions.c ui/actions.h win32/interface.c
ib
subversion at mplayerhq.hu
Wed Mar 27 19:57:09 CET 2013
Author: ib
Date: Wed Mar 27 19:57:09 2013
New Revision: 36062
Log:
Change parameter declaration to const.
Modified:
trunk/gui/ui/actions.c
trunk/gui/ui/actions.h
trunk/gui/win32/interface.c
Modified: trunk/gui/ui/actions.c
==============================================================================
--- trunk/gui/ui/actions.c Wed Mar 27 19:56:13 2013 (r36061)
+++ trunk/gui/ui/actions.c Wed Mar 27 19:57:09 2013 (r36062)
@@ -660,7 +660,7 @@ void uiChangeSkin(char *name)
*
* @note All #guiInfo members associated with the file will be cleared.
*/
-void uiSetFile(char *dir, char *name, int type)
+void uiSetFile(const char *dir, const char *name, int type)
{
if (!dir)
setdup(&guiInfo.Filename, name);
Modified: trunk/gui/ui/actions.h
==============================================================================
--- trunk/gui/ui/actions.h Wed Mar 27 19:56:13 2013 (r36061)
+++ trunk/gui/ui/actions.h Wed Mar 27 19:57:09 2013 (r36062)
@@ -31,7 +31,7 @@ void uiPause(void);
void uiPlay(void);
void uiPrev(void);
void uiRelSeek(float percent);
-void uiSetFile(char *dir, char *name, int type);
+void uiSetFile(const char *dir, const char *name, int type);
void uiState(void);
void uiUnsetFile(void);
void uiUnsetMedia(int totals);
Modified: trunk/gui/win32/interface.c
==============================================================================
--- trunk/gui/win32/interface.c Wed Mar 27 19:56:13 2013 (r36061)
+++ trunk/gui/win32/interface.c Wed Mar 27 19:57:09 2013 (r36062)
@@ -447,7 +447,7 @@ void uiPrev(void)
mygui->startplay(mygui);
}
-void uiSetFile(char *dir, char *name, int type)
+void uiSetFile(const char *dir, const char *name, int type)
{
if(!name) return;
if(!dir)
More information about the MPlayer-cvslog
mailing list