From 02d9607a657551c17178f00e7319ecc94df00f92 Mon Sep 17 00:00:00 2001 From: spog Date: Sun, 19 Feb 2006 19:31:17 +0000 Subject: [PATCH] fixed const inconsistencies git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@14 8a3a26a2-13c4-0310-b231-cf6edde360e5 --- TODO | 2 ++ plugins/vfspk3/vfs.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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;