gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r9704: atof -> strtof


From: Markus Gothe
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r9704: atof -> strtof
Date: Tue, 09 Sep 2008 06:22:53 +0200
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 9704
committer: Markus Gothe <address@hidden>
branch nick: gnash
timestamp: Tue 2008-09-09 06:22:53 +0200
message:
  atof -> strtof
modified:
  gui/aqua_ogl_glue.cpp
  gui/gtk_glue_gtkglext.cpp
  gui/kde_glue_opengl.cpp
  gui/sdl_ogl_glue.cpp
=== modified file 'gui/aqua_ogl_glue.cpp'
--- a/gui/aqua_ogl_glue.cpp     2008-05-26 21:13:32 +0000
+++ b/gui/aqua_ogl_glue.cpp     2008-09-09 04:22:53 +0000
@@ -56,7 +56,7 @@
 #ifdef FIX_I810_LOD_BIAS
     int c = getopt (argc, *argv, "m:");
     if (c == 'm') {
-      _tex_lod_bias = (float) atof(optarg);
+      _tex_lod_bias = (float) strtof(optarg, NULL);
     }
 #endif
 

=== modified file 'gui/gtk_glue_gtkglext.cpp'
--- a/gui/gtk_glue_gtkglext.cpp 2008-03-05 03:55:48 +0000
+++ b/gui/gtk_glue_gtkglext.cpp 2008-09-09 04:22:53 +0000
@@ -56,7 +56,7 @@
 #ifdef FIX_I810_LOD_BIAS
     int c = getopt (argc, *argv, "m:");
     if (c == 'm') {
-      _tex_lod_bias = (float) atof(optarg);
+      _tex_lod_bias = (float) strtof(optarg, NULL);
     }
 #endif
 

=== modified file 'gui/kde_glue_opengl.cpp'
--- a/gui/kde_glue_opengl.cpp   2008-03-05 03:55:48 +0000
+++ b/gui/kde_glue_opengl.cpp   2008-09-09 04:22:53 +0000
@@ -43,7 +43,7 @@
 #ifdef FIX_I810_LOD_BIAS
     int c = getopt (argc, *argv, "m:");
     if (c == 'm') {
-      _tex_lod_bias = (float) atof(optarg);
+      _tex_lod_bias = (float) strtof(optarg, NULL);
     }
 #endif
     return true;

=== modified file 'gui/sdl_ogl_glue.cpp'
--- a/gui/sdl_ogl_glue.cpp      2008-01-21 20:55:39 +0000
+++ b/gui/sdl_ogl_glue.cpp      2008-09-09 04:22:53 +0000
@@ -54,7 +54,7 @@
 #ifdef FIX_I810_LOD_BIAS
     int c = getopt (argc, *argv, "m:");
     if (c == 'm') {
-      _tex_lod_bias = (float) atof(optarg);
+      _tex_lod_bias = (float) strtof(optarg, NULL);
     }
 #endif
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]