projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a9f075
)
check to make sure the workspaces is > 0 not != 0
author
Dana Jansens
<danakj@orodu.net>
Mon, 22 Jul 2002 16:15:39 +0000
(16:15 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 22 Jul 2002 16:15:39 +0000
(16:15 +0000)
src/Screen.cc
patch
|
blob
|
history
diff --git
a/src/Screen.cc
b/src/Screen.cc
index
378d61e
..
d92973b
100644
(file)
--- a/
src/Screen.cc
+++ b/
src/Screen.cc
@@
-212,7
+212,7
@@
BScreen::BScreen(Blackbox *bb, unsigned int scrn) : ScreenInfo(bb, scrn) {
iconmenu = new Iconmenu(this);
configmenu = new Configmenu(this);
- if (resource.workspaces
!=
0) {
+ if (resource.workspaces
>
0) {
for (unsigned int i = 0; i < resource.workspaces; ++i) {
Workspace *wkspc = new Workspace(this, workspacesList.size());
workspacesList.push_back(wkspc);