Skip to content

Commit

Permalink
Fix bug in compute_build_id function (months is set incorrectly).
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Kovalenko committed Oct 8, 2014
1 parent c611d5f commit 9f4d101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xrEngine/x_ray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ void compute_build_id ()
sscanf (buffer,"%s %d %d",month,&days,&years);

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

months = i;
Expand Down

0 comments on commit 9f4d101

Please sign in to comment.