Skip to content

Commit 79fbf41

Browse files
authored
1.6: Fix build after launcher changes
1 parent e8fa102 commit 79fbf41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Shared/sdk/SharedUtil.Logging.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ void SharedUtil::CycleFile(const SString& strPathFilename, uint uiCycleThreshKB,
167167
// Rename older files .1 .2 etc
168168
uint uiNew = uiNumBackups - 1 - i;
169169
uint uiOld = uiNumBackups - i;
170-
SString strFilenameNewer = strPathFilename + (uiNew ? SString(".%d", uiNew) : "");
171-
SString strFilenameOlder = strPathFilename + (uiOld ? SString(".%d", uiOld) : "");
170+
SString strFilenameNewer = strPathFilename + (uiNew ? SString(".%d", uiNew) : SStringX(""));
171+
SString strFilenameOlder = strPathFilename + (uiOld ? SString(".%d", uiOld) : SStringX(""));
172172

173173
FileDelete(strFilenameOlder);
174174
FileRename(strFilenameNewer, strFilenameOlder);

0 commit comments

Comments
 (0)