typo
authorRafaël Carré <funman@videolan.org>
Thu, 26 Oct 2006 18:05:00 +0000 (18:05 +0000)
committerRafaël Carré <funman@videolan.org>
Thu, 26 Oct 2006 18:05:00 +0000 (18:05 +0000)
modules/gui/wxwidgets/wxwidgets.hpp

index 6bf21b4..ecf302e 100644 (file)
@@ -126,7 +126,7 @@ static inline char *wxDnDFromLocale( const wxChar *stupid )
     while (stupid[n])
         n++;
 
-    char psz_local[i + 1];
+    char psz_local[n + 1];
     for (size_t i = 0; i < n; i++)
         psz_local[i] = stupid[i];