projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2cc15a
)
replaced glib function calls to g_ascii_strtod()
author
Holger Schemel
<info@artsoft.org>
Fri, 23 Feb 2024 17:34:09 +0000
(18:34 +0100)
committer
Holger Schemel
<info@artsoft.org>
Fri, 23 Feb 2024 17:34:09 +0000
(18:34 +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 bc8c8015f55517c43992183eb5aa8d61e6e6ad10..20aba8f946e499a1f5032ff4b919984ebd0d315c 100644
(file)
--- a/
src/game_bd/bd_bdcff.c
+++ b/
src/game_bd/bd_bdcff.c
@@
-254,7
+254,7
@@
static boolean struct_set_property(gpointer str, const GdStructDescriptor *prop_
break;
case GD_TYPE_PROBABILITY:
- res =
g_ascii_
strtod(params[paramindex], NULL);
+ res = strtod(params[paramindex], NULL);
if (errno == 0 && res >= 0 && res <= 1)
{
/* fill all remaining items in array - may be only one */
@@
-268,7
+268,7
@@
static boolean struct_set_property(gpointer str, const GdStructDescriptor *prop_
break;
case GD_TYPE_RATIO:
- res =
g_ascii_
strtod (params[paramindex], NULL);
+ res = strtod (params[paramindex], NULL);
if (errno == 0 && res >= 0 && res <= 1)
{
for (k = j; k < prop_desc[i].count; k++)