Skip to content

Commit b7c1bd3

Browse files
committed
fix indentation in nob_win32_error_message
1 parent 153e09d commit b7c1bd3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

nob.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -614,13 +614,13 @@ char *nob_win32_error_message(DWORD err) {
614614
char *newErrMsg = NULL;
615615
if (GetLastError() == ERROR_MR_MID_NOT_FOUND) {
616616
newErrMsg = "Invalid Win32 error code";
617-
} else {
617+
} else {
618618
newErrMsg = "Could not get error message";
619-
}
619+
}
620620

621621
if (snprintf(win32ErrMsg, sizeof(win32ErrMsg), "%s for 0x%lX", newErrMsg, err) > 0) {
622-
return (char *)&win32ErrMsg;
623-
} else {
622+
return (char *)&win32ErrMsg;
623+
} else {
624624
return newErrMsg;
625625
}
626626
}

0 commit comments

Comments
 (0)