More Fixes

This commit is contained in:
TheBrokenRail 2022-04-16 16:38:09 -04:00
parent bfcdd3c7e9
commit 4edfaeead4
7 changed files with 8 additions and 5 deletions

@ -1 +1 @@
Subproject commit 955fbd9d265fa95adf9cb94896eb9a516aa50420 Subproject commit 4cb36872a5fe448c205d0b46f0e8c8b57530cfe0

@ -1 +1 @@
Subproject commit cacf7f1d4e3d44d871b605da3b647f07d718623f Subproject commit 21767c654d31d2dccdde4330529775c6c5fd5389

View File

@ -1,6 +1,7 @@
# Changelog # Changelog
**2.3.4** **2.3.4**
* AppImage Fixes
* Make Death Messages Customizable Server-Side * Make Death Messages Customizable Server-Side
* Fix Q-Key Behavior Behavior When Editing Signs * Fix Q-Key Behavior Behavior When Editing Signs
* Add ``Force Touch Inventory`` Feature Flag (Disabled By Default) * Add ``Force Touch Inventory`` Feature Flag (Disabled By Default)

View File

@ -152,6 +152,8 @@ void pre_bootstrap() {
if (owd != NULL && chdir(owd) != 0) { if (owd != NULL && chdir(owd) != 0) {
ERR("AppImage: Unable To Fix Current Directory: %s", strerror(errno)); ERR("AppImage: Unable To Fix Current Directory: %s", strerror(errno));
} }
// AppImageCrafters/AppRun#53
set_and_print_env("APPDIR_FORCE_BUNDLE_RUNTIME", "1");
#endif #endif
// Get Binary Directory // Get Binary Directory

View File

@ -100,7 +100,7 @@ char *run_command(const char *const command[], int *return_code) {
size_t bytes_read = 0; size_t bytes_read = 0;
while ((bytes_read = read(output_pipe[0], (void *) buf, BUFFER_SIZE - 1 /* Account For NULL-Terminator */)) > 0) { while ((bytes_read = read(output_pipe[0], (void *) buf, BUFFER_SIZE - 1 /* Account For NULL-Terminator */)) > 0) {
buf[bytes_read] = '\0'; buf[bytes_read] = '\0';
string_append(&output, buf); string_append(&output, "%s", buf);
} }
close(output_pipe[0]); close(output_pipe[0]);

View File

@ -92,7 +92,7 @@ static void LoginPacket_read_injection(unsigned char *packet, unsigned char *bit
// formatting functionality. // formatting functionality.
static unsigned char *RakNet_RakString_injection(unsigned char *rak_string, const char *format, ...) { static unsigned char *RakNet_RakString_injection(unsigned char *rak_string, const char *format, ...) {
// Call Original Method // Call Original Method
return (*RakNet_RakString)(rak_string, format); return (*RakNet_RakString)(rak_string, "%s", format);
} }
// Print Error Message If RakNet Startup Fails // Print Error Message If RakNet Startup Fails

View File

@ -437,7 +437,7 @@ static PerfRenderer_debugFpsMeterKeyPress_t PerfRenderer_debugFpsMeterKeyPress =
// TextEditScreen // TextEditScreen
#define TEXT_EDIT_SCREEN_SIZE 0xd0 #define TEXT_EDIT_SCREEN_SIZE 0xa9
typedef unsigned char *(*TextEditScreen_t)(unsigned char *text_edit_screen, unsigned char *sign); typedef unsigned char *(*TextEditScreen_t)(unsigned char *text_edit_screen, unsigned char *sign);
static TextEditScreen_t TextEditScreen = (TextEditScreen_t) 0x3a840; static TextEditScreen_t TextEditScreen = (TextEditScreen_t) 0x3a840;