summaryrefslogtreecommitdiff
path: root/src/drivers/GDI/Fl_GDI_Graphics_Driver_font.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2017-06-28 20:34:05 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2017-06-28 20:34:05 +0000
commit14a6e9d10382944aa1d91438cc2cccdc3e17da04 (patch)
treea631c1d4f19b58cbf7d50a3f2a66a9bc57296923 /src/drivers/GDI/Fl_GDI_Graphics_Driver_font.cxx
parent85724f00a0304619013f3b41f09288e757fa2149 (diff)
Fix code formatting and typos.
Added some braces around the bodies of one-statement for loops for clarity. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12278 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/GDI/Fl_GDI_Graphics_Driver_font.cxx')
-rw-r--r--src/drivers/GDI/Fl_GDI_Graphics_Driver_font.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/GDI/Fl_GDI_Graphics_Driver_font.cxx b/src/drivers/GDI/Fl_GDI_Graphics_Driver_font.cxx
index 5aea512f7..98e88a8f9 100644
--- a/src/drivers/GDI/Fl_GDI_Graphics_Driver_font.cxx
+++ b/src/drivers/GDI/Fl_GDI_Graphics_Driver_font.cxx
@@ -548,7 +548,7 @@ void Fl_GDI_Graphics_Driver::text_extents_unscaled(const char *c, int n, int &dx
} else goto exit_error;
} else {
if (fl_GetGlyphIndices(gc_, (WCHAR*)ext_buff, len, w_buff, GGI_MARK_NONEXISTING_GLYPHS) == GDI_ERROR) {
- // some error occured here - just return fl_measure values
+ // some error occurred here - just return fl_measure values
goto exit_error;
}
}