diff gui/win32/dialogs.c @ 33790:ab6d06f5b98b

Add const to some string pointer arguments that will not be modified.
author ib
date Tue, 12 Jul 2011 08:45:52 +0000
parents 896b427e598e
children 4789b8eed97e
line wrap: on
line diff
--- a/gui/win32/dialogs.c	Mon Jul 11 21:54:53 2011 +0000
+++ b/gui/win32/dialogs.c	Tue Jul 12 08:45:52 2011 +0000
@@ -45,7 +45,7 @@
 guiInterface_t guiInfo;
 int addurl = 0;
 
-void mplayerLoadSubtitle(char *name)
+void mplayerLoadSubtitle(const char *name)
 {
     if (!guiInfo.Playing) return;