diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2014-08-19 12:36:12 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2014-08-19 12:36:12 +0000 |
| commit | 34a641f1ef73f19fda751886e6db7a9473381185 (patch) | |
| tree | 4753718f8a0c0fd3f4ca059af36e364846bbadf2 /src | |
| parent | cd3ca84e71272d8664205305f81f49444b653292 (diff) | |
Fix a typo (cut'n'paste error).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10226 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/fl_font_win32.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fl_font_win32.cxx b/src/fl_font_win32.cxx index b6a6ed8b8..9078827ab 100644 --- a/src/fl_font_win32.cxx +++ b/src/fl_font_win32.cxx @@ -202,7 +202,7 @@ double Fl_GDI_Graphics_Driver::width(unsigned int c) { // else - this falls through to the lookup-table for glyph widths // in the basic multilingual plane r = (c & 0xFC00) >> 10; - if (!fl_fontsize->width[r]) { + if (!fl_fontsize->width[r]) { fl_fontsize->width[r] = (int*) malloc(sizeof(int) * 0x0400); for (int i = 0; i < 0x0400; i++) fl_fontsize->width[r][i] = -1; } else { @@ -212,11 +212,11 @@ double Fl_GDI_Graphics_Driver::width(unsigned int c) { } unsigned short ii = r * 0x400; // The following code makes a best effort attempt to obtain a valid fl_gc. - // If no fl_gc is available at the time we call fltk3::width(), then we first + // If no fl_gc is available at the time we call fl_width(), then we first // try to obtain a gc from the first fltk window. // If that is null then we attempt to obtain the gc from the current screen // using (GetDC(NULL)). - // This should resolve STR #2086 + // This should resolve STR #2086 HDC gc = fl_gc; HWND hWnd = 0; if (!gc) { // We have no valid gc, try and obtain one |
