projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bddf6c2
)
replaced glib function calls to g_ascii_isdigit()
author
Holger Schemel
<info@artsoft.org>
Mon, 19 Feb 2024 19:22:50 +0000
(20:22 +0100)
committer
Holger Schemel
<info@artsoft.org>
Mon, 19 Feb 2024 19:22:50 +0000
(20:22 +0100)
src/game_bd/bd_bdcff.c
patch
|
blob
|
history
diff --git
a/src/game_bd/bd_bdcff.c
b/src/game_bd/bd_bdcff.c
index 19cfc2d7cced2cc99fbe918f72280840a2a9d695..6f3b935b421aea5e5f30524f5c6c8eb27209ed69 100644
(file)
--- a/
src/game_bd/bd_bdcff.c
+++ b/
src/game_bd/bd_bdcff.c
@@
-82,7
+82,7
@@
static boolean replay_store_from_bdcff(GdReplay *replay, const char *str)
break;
default:
- if (
g_ascii_isdigit(str[i])
)
+ if (
str[i] >= '0' && str[i] <= '9'
)
{
if (!num)
num = str + i;