From 82ff6f298d19278911ab2484f311b241fc56cb7c Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sun, 26 Aug 2012 19:51:46 +0200 Subject: [PATCH] CTextBox: initialize variables in constructor (style) Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/4007cf4a6dc43698acf051c5e1a68e7d94684a67 Author: Thilo Graf Date: 2012-08-26 (Sun, 26 Aug 2012) --- src/gui/widget/textbox.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/widget/textbox.h b/src/gui/widget/textbox.h index b7e8c1166..b3a34971e 100644 --- a/src/gui/widget/textbox.h +++ b/src/gui/widget/textbox.h @@ -72,7 +72,7 @@ class CBox public: /* Constructor */ - inline CBox(){iY = 0; iX = 0; iWidth = 0;iHeight = 0;}; + inline CBox(){iX=0; iY=0; iWidth=0; iHeight=0;}; inline CBox( const int _iX, const int _iY, const int _iWidth, const int _iHeight){iX=_iX; iY=_iY; iWidth=_iWidth; iHeight=_iHeight;}; inline ~CBox(){;}; /* Functions */