mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Use loc::toupper_ch instead of SDL_toupper in VFormat
This commit is part of rewritten history of the localization branch. The original (unsquashed) commit history can be found here: https://github.com/Dav999-v/VVVVVV/tree/localization-orig
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
7ffbf0b115
commit
1ead8885ba
@@ -1,8 +1,12 @@
|
||||
#include <SDL.h>
|
||||
|
||||
#include "Localization.h"
|
||||
#include "UtilityClass.h"
|
||||
|
||||
extern "C" char* HELP_number_words(int _t)
|
||||
extern "C"
|
||||
{
|
||||
|
||||
char* HELP_number_words(int _t)
|
||||
{
|
||||
/* C wrapper for UtilityClass::number_words.
|
||||
* Caller must VVV_free. */
|
||||
@@ -15,3 +19,10 @@ extern "C" char* HELP_number_words(int _t)
|
||||
|
||||
return buffer;
|
||||
}
|
||||
|
||||
uint32_t LOC_toupper_ch(uint32_t ch)
|
||||
{
|
||||
return loc::toupper_ch(ch);
|
||||
}
|
||||
|
||||
} /* extern "C" */
|
||||
|
||||
Reference in New Issue
Block a user