Skip to content

Commit

Permalink
Fixed "less than" version check.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Sep 14, 2004
1 parent 3e78c45 commit f21d341
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mojopatch.c
Expand Up @@ -597,8 +597,6 @@ int version_ok(const char *ver, const char *allowed_ver)
double dver;
double dallow;
ptr = buf + lessThanLen;
*ptr = '\0';
ptr++;

dver = strtod(ver, &endptr);
if (endptr == ver)
Expand Down

0 comments on commit f21d341

Please sign in to comment.