summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-01-21 20:00:33 (GMT)
committerfluxgen <fluxgen>2004-01-21 20:00:33 (GMT)
commit660b3bddd64ac8463714f037b3e1322f694ccd20 (patch)
tree2c7946799e322a6398a7ab6832f129cb891eb19f /src
parentd1b45b69c6cd4b446fa1fc989e48b7bc4f5d29b1 (diff)
downloadfluxbox_lack-660b3bddd64ac8463714f037b3e1322f694ccd20.zip
fluxbox_lack-660b3bddd64ac8463714f037b3e1322f694ccd20.tar.bz2
const fixes
Diffstat (limited to 'src')
-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;