From: spog Date: Sun, 19 Feb 2006 19:31:17 +0000 (+0000) Subject: fixed const inconsistencies X-Git-Tag: xonotic-v0.7.0~16^2~12^2~280 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=02d9607a657551c17178f00e7319ecc94df00f92;p=xonotic%2Fnetradiant.git fixed const inconsistencies git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@14 8a3a26a2-13c4-0310-b231-cf6edde360e5 --- diff --git a/TODO b/TODO index 53186321..8b55f369 100644 --- a/TODO +++ b/TODO @@ -25,6 +25,8 @@ can't use arrow keys to navigate in camera view when capslock is enabled was looking around in 3dview and then autosave thingy came up and now i cant do anything anymore :( +upgrade to new API for SymGetModuleInfo + HIGH priority features diff --git a/plugins/vfspk3/vfs.cpp b/plugins/vfspk3/vfs.cpp index c54452f1..27a2987d 100644 --- a/plugins/vfspk3/vfs.cpp +++ b/plugins/vfspk3/vfs.cpp @@ -351,7 +351,7 @@ void InitDirectory(const char* directory, ArchiveModules& archiveModules) if(name == 0) break; - char *ext = strrchr (name, '.'); + const char *ext = strrchr (name, '.'); if ((ext == 0) || *(++ext) == '\0' || GetArchiveTable(archiveModules, ext) == 0) continue;