Skip to content

Commit 9f4d101

Browse files
author
Pavel Kovalenko
committed
Fix bug in compute_build_id function (months is set incorrectly).
1 parent c611d5f commit 9f4d101

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xrEngine/x_ray.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ void compute_build_id ()
136136
sscanf (buffer,"%s %d %d",month,&days,&years);
137137

138138
for (int i=0; i<12; i++) {
139-
if (_stricmp(month_id[i],month))
139+
if (!stricmp(month_id[i],month))
140140
continue;
141141

142142
months = i;

0 commit comments

Comments
 (0)