diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-04-13 16:26:44 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-04-13 16:26:44 -0600 |
commit | 638c1a6dc07b438efa220c5345e94c3a963505ca (patch) | |
tree | 85feed8dbf4f2dd7a2eec83ed88606f14a2f02a2 /NxWidgets/libnxwidgets/src/cnxfont.cxx | |
parent | 43ec94a665e13552402ff4f102e0f65f6792cf29 (diff) | |
download | nuttx-638c1a6dc07b438efa220c5345e94c3a963505ca.tar.gz nuttx-638c1a6dc07b438efa220c5345e94c3a963505ca.tar.bz2 nuttx-638c1a6dc07b438efa220c5345e94c3a963505ca.zip |
More trailing whilespace removal
Diffstat (limited to 'NxWidgets/libnxwidgets/src/cnxfont.cxx')
-rw-r--r-- | NxWidgets/libnxwidgets/src/cnxfont.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/NxWidgets/libnxwidgets/src/cnxfont.cxx b/NxWidgets/libnxwidgets/src/cnxfont.cxx index 189cfb9e0..326dd5619 100644 --- a/NxWidgets/libnxwidgets/src/cnxfont.cxx +++ b/NxWidgets/libnxwidgets/src/cnxfont.cxx @@ -36,7 +36,7 @@ /**************************************************************************** * Included Files ****************************************************************************/ - + #include <nuttx/config.h> #include <sys/types.h> @@ -150,14 +150,14 @@ nxgl_coord_t CNxFont::getStringWidth(const CNxString &text) const if (iter->moveToFirst()) { // moveToFirst returns true if there is at least one character - + do { // Add the width of the font bitmap for this character and // move the the next character nxwidget_char_t ch = iter->getChar(); - + width += getCharWidth(ch); } while (iter->moveToNext()); @@ -178,7 +178,7 @@ nxgl_coord_t CNxFont::getStringWidth(const CNxString &text) const * @param length The length of the substring in chars. * @return The width of the substring in pixels. */ - + nxgl_coord_t CNxFont::getStringWidth(const CNxString &text, int startIndex, int length) const { |