Remove strange punctuation.
[sgt/puzzles] / drawing.c
index 9dbcea9..b582b8f 100644 (file)
--- a/drawing.c
+++ b/drawing.c
@@ -281,5 +281,5 @@ void print_line_width(drawing *dr, int width)
      * _square root_ of the main puzzle scale. Double the puzzle
      * size, and the line width multiplies by 1.4.
      */
-    dr->api->line_width(dr->handle, sqrt(dr->scale) * width);
+    dr->api->line_width(dr->handle, (float)sqrt(dr->scale) * width);
 }