Преглед изворни кода

r.info: fix reporting categories on Windows, related to https://trac.osgeo.org/grass/ticket/2357 (r3.info crash on Windows)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@61189 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová пре 11 година
родитељ
комит
5b3f0ea7f5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      raster/r.info/main.c

+ 1 - 1
raster/r.info/main.c

@@ -413,7 +413,7 @@ int main(int argc, char **argv)
 
 
 static void format_double(const double value, char *buf)
 static void format_double(const double value, char *buf)
 {
 {
-    sprintf(buf, "%.8lf", value);
+    sprintf(buf, "%.8f", value);
     G_trim_decimal(buf);
     G_trim_decimal(buf);
 }
 }