From 8c467d0f30f02a0df58b4d6f421c0066c0c62a2e Mon Sep 17 00:00:00 2001 From: Markus Gans Date: Sat, 18 Jul 2015 21:36:57 +0200 Subject: [PATCH] optic --- src/flabel.cpp | 4 ++-- src/flabel.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/flabel.cpp b/src/flabel.cpp index 112e31ef..9f38cdeb 100644 --- a/src/flabel.cpp +++ b/src/flabel.cpp @@ -71,7 +71,7 @@ uChar FLabel::getHotkey() } //---------------------------------------------------------------------- -int FLabel::getHotkeyPos(wchar_t*& src, wchar_t*& dest, uInt length) +int FLabel::getHotkeyPos (wchar_t*& src, wchar_t*& dest, uInt length) { // find hotkey position in string // + generate a new string without the '&'-sign @@ -138,7 +138,7 @@ int FLabel::getXOffset(int length) void FLabel::printLine ( wchar_t*& line, uInt length, int hotkeypos, - int xoffset) + int xoffset ) { int to_char; bool isActive, isNoUnderline; diff --git a/src/flabel.h b/src/flabel.h index ce67d2f5..acc1d623 100644 --- a/src/flabel.h +++ b/src/flabel.h @@ -38,7 +38,7 @@ class FLabel : public FWidget uChar getHotkey(); int getHotkeyPos (wchar_t*&, wchar_t*&, uInt); void setHotkeyAccelerator(); - int getXOffset(int); + int getXOffset (int); void printLine (wchar_t*&, uInt, int, int xoffset=0); void draw();