summaryrefslogtreecommitdiff
path: root/documentation/src
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/src')
-rw-r--r--documentation/src/drawing.dox2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/src/drawing.dox b/documentation/src/drawing.dox
index f8b2fd903..666fe541d 100644
--- a/documentation/src/drawing.dox
+++ b/documentation/src/drawing.dox
@@ -61,7 +61,7 @@ expressed in FLTK units by the current value of the scale factor
for the screen in use and obtains quantities in <b>drawing units</b>.
The current scale factor value, for an Fl_Window named \e window, is given by
\code
-int nscreen = window->driver()->screen_num(); // the screen where window is mapped
+int nscreen = window->screen_num(); // the screen where window is mapped
float s = Fl::screen_driver()->scale(nscreen); // this screen's scale factor
\endcode
One drawing unit generally corresponds to one screen pixel...