summaryrefslogtreecommitdiff
path: root/src/Shape.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Shape.cc')
-rw-r--r--src/Shape.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Shape.cc b/src/Shape.cc
index dda869c..9013cf7 100644
--- a/src/Shape.cc
+++ b/src/Shape.cc
@@ -1,5 +1,5 @@
1// Shape.cc 1// Shape.cc
2// Copyright (c) 2003 Henrik Kinnunen (fluxgen(at)users.sourceforge.net) 2// Copyright (c) 2003-2004 Henrik Kinnunen (fluxgen(at)users.sourceforge.net)
3// 3//
4// Permission is hereby granted, free of charge, to any person obtaining a 4// Permission is hereby granted, free of charge, to any person obtaining a
5// copy of this software and associated documentation files (the "Software"), 5// copy of this software and associated documentation files (the "Software"),
@@ -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: Shape.cc,v 1.10 2004/01/21 17:01:27 fluxgen Exp $ 22// $Id: Shape.cc,v 1.11 2004/01/21 20:00:33 fluxgen Exp $
23 23
24#include "Shape.hh" 24#include "Shape.hh"
25 25
@@ -41,7 +41,7 @@ using namespace std;
41 41
42namespace { 42namespace {
43 43
44FbTk::FbPixmap *createShape(FbTk::FbWindow &win, int place) { 44FbTk::FbPixmap *createShape(const FbTk::FbWindow &win, int place) {
45 if (win.window() == 0 || place == 0 || 45 if (win.window() == 0 || place == 0 ||
46 win.width() < 3 || win.height() < 3) 46 win.width() < 3 || win.height() < 3)
47 return 0; 47 return 0;