- fix possible crash in conc (but it's still an ugly hack) - fix noob usage of strcmp - flag some memory leaks (it would be nice, if the author(s) would clean up the mess himself) - fix crash in substr - whitespace cleanup there are plenty more memory leaks in command.cpp - for example, every goto in cubescript does not clean up anything
20 lines
358 B
C
20 lines
358 B
C
// internationalization and localization
|
|
|
|
// localization manager
|
|
struct i18nmanager
|
|
{
|
|
const char *domain;
|
|
const char *basepath;
|
|
char *locale;
|
|
|
|
i18nmanager(const char *domain, const char *basepath); // initialize locale system
|
|
|
|
};
|
|
|
|
extern char *lang;
|
|
|
|
enum { CF_NONE = 0, CF_OK, CF_FAIL, CF_SIZE };
|
|
|
|
#define FONTSTART 33
|
|
#define FONTCHARS 94
|