mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 02:27:40 -04:00
Make a bunch more strings const.
This commit is contained in:
@ -48,7 +48,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "pnKeyedObject/plUoid.h"
|
||||
|
||||
|
||||
char *plFontCache::kCustFontExtension = ".prf";
|
||||
const char* plFontCache::kCustFontExtension = ".prf";
|
||||
|
||||
|
||||
plFontCache *plFontCache::fInstance = nil;
|
||||
|
@ -83,7 +83,7 @@ class plFontCache : public hsKeyedObject
|
||||
void LoadCustomFonts( const char *dir );
|
||||
|
||||
// Our custom font extension
|
||||
static char *kCustFontExtension;
|
||||
static const char* kCustFontExtension;
|
||||
};
|
||||
|
||||
|
||||
|
@ -55,7 +55,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include <wingdi.h>
|
||||
|
||||
|
||||
char *plWinFontCache::kCustFontExtension = ".prf";
|
||||
const char* plWinFontCache::kCustFontExtension = ".prf";
|
||||
|
||||
|
||||
plWinFontCache::plWinFontCache()
|
||||
|
@ -107,7 +107,7 @@ class plWinFontCache
|
||||
void LoadCustomFonts( const char *dir );
|
||||
|
||||
// Our custom font extension
|
||||
static char *kCustFontExtension;
|
||||
static const char* kCustFontExtension;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user