summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/WinButton.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WinButton.cc b/src/WinButton.cc
index e33b447..48ce31c 100644
--- a/src/WinButton.cc
+++ b/src/WinButton.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22/// $Id: WinButton.cc,v 1.14 2003/09/14 17:34:47 fluxgen Exp $ 22/// $Id: WinButton.cc,v 1.15 2003/09/22 12:07:00 rathnor Exp $
23 23
24#include "WinButton.hh" 24#include "WinButton.hh"
25#include "App.hh" 25#include "App.hh"
@@ -118,7 +118,7 @@ void WinButton::drawType() {
118 118
119 if (used) { 119 if (used) {
120 FbTk::FbWindow::clear(); 120 FbTk::FbWindow::clear();
121 } else if (gc() == 0) { // must have valid graphic context 121 } else if (gc() != 0) { // must have valid graphic context
122 FbTk::FbWindow::drawRectangle(gc(), 122 FbTk::FbWindow::drawRectangle(gc(),
123 2, height() - 5, width() - 5, 2); 123 2, height() - 5, width() - 5, 2);
124 } 124 }