Fix username getting stuffed up with last commit, oops (Thanks Yolkbird)

This commit is contained in:
UnknownShadow200 2020-12-31 08:33:08 +11:00
parent 3c3664b9cf
commit 8749010193
2 changed files with 2 additions and 2 deletions

View File

@ -299,7 +299,7 @@ void Launcher_Run(void) {
Drawer2D_BlackTextShadows = true;
InitFramebuffer();
Options_UNSAFE_Get("launcher-cc-username", &Game_Username);
Options_Get("launcher-cc-username", &Game_Username, "");
Session_Load();
Launcher_LoadSkin();
Launcher_Init();

View File

@ -224,7 +224,7 @@ int Convert_FromBase64(const char* src, int len, cc_uint8* dst) {
*--------------------------------------------------------EntryList--------------------------------------------------------*
*#########################################################################################################################*/
void EntryList_Load(struct StringsBuffer* list, const char* file, char separator, EntryList_Filter filter) {
cc_string entry; char entryBuffer[768];
cc_string entry; char entryBuffer[1024];
cc_string path;
cc_string key, value;
int lineLen, maxLen;