Skip to content

Commit f7e8e61

Browse files
authored
xrCore/xrCore.cpp: fix wrong git informational string usage when git isn't available (closes #1726)
1 parent c998f47 commit f7e8e61

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/xrCore/xrCore.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ static u32 init_counter = 0;
5252
#endif
5353

5454
#ifndef GIT_INFO_CURRENT_COMMIT
55-
#define GIT_INFO_CURRENT_COMMIT unknown
55+
#define GIT_INFO_CURRENT_COMMIT "unknown"
5656
#endif
5757

5858
#ifndef GIT_INFO_CURRENT_BRANCH
59-
#define GIT_INFO_CURRENT_BRANCH unknown
59+
#define GIT_INFO_CURRENT_BRANCH "unknown"
6060
#endif
6161

6262
void SDLLogOutput(void* userdata, int category, SDL_LogPriority priority, const char* message);

0 commit comments

Comments
 (0)