summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-21 03:53:13 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-23 13:47:42 +0300
commitdd784ca40819125d35a24a258c51e96515f77c75 (patch)
tree564a68d574c56f51ee2b00197cb9b83cc3843a61 /libvo
parente66e17adc13638dd99088a1b7f06fd6fa7d64527 (diff)
downloadmpv-dd784ca40819125d35a24a258c51e96515f77c75.tar.bz2
mpv-dd784ca40819125d35a24a258c51e96515f77c75.tar.xz
Mark a table const
Diffstat (limited to 'libvo')
-rw-r--r--libvo/x11_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index 59f767580e..a44fbac6b0 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -160,7 +160,7 @@ static void vo_hidecursor(Display * disp, Window win)
Pixmap bm_no;
XColor black, dummy;
Colormap colormap;
- static char bm_no_data[] = { 0, 0, 0, 0, 0, 0, 0, 0 };
+ const char bm_no_data[] = { 0, 0, 0, 0, 0, 0, 0, 0 };
if (WinID == 0)
return; // do not hide if playing on the root window