fix indentation

This commit is contained in:
diamant3
2022-10-15 16:42:21 +08:00
parent 332dd434f1
commit 3b6e10e82d

View File

@@ -251,7 +251,7 @@ void pspDebugKbInit(char* str) {
break; break;
case 1: // Space case 1: // Space
if (strlen(str) < PSP_DEBUG_KB_MAXLEN) { if (strlen(str) < PSP_DEBUG_KB_MAXLEN) {
char out[PSP_DEBUG_KB_MAXLEN] = {0}; char out[PSP_DEBUG_KB_MAXLEN] = {0};
snprintf(out, strlen(str), "%s ", str); snprintf(out, strlen(str), "%s ", str);
pspDebugKbDrawString(out); pspDebugKbDrawString(out);
} }
@@ -273,7 +273,7 @@ void pspDebugKbInit(char* str) {
}; };
} else { } else {
if (strlen(str) < PSP_DEBUG_KB_MAXLEN) { if (strlen(str) < PSP_DEBUG_KB_MAXLEN) {
char out[PSP_DEBUG_KB_MAXLEN] = {0}; char out[PSP_DEBUG_KB_MAXLEN] = {0};
snprintf(out, strlen(str), "%s%c", str, charTable[row][col]); snprintf(out, strlen(str), "%s%c", str, charTable[row][col]);
pspDebugKbDrawString(out); pspDebugKbDrawString(out);
} }