Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
95c1334
)
Fix segfault caused by workspaces above 10 not being initialized.
author
Reginald Kennedy
<rk@rejii.com>
Fri, 20 Apr 2012 06:18:21 +0000
(14:18 +0800)
committer
Reginald Kennedy
<rk@rejii.com>
Fri, 20 Apr 2012 06:18:21 +0000
(14:18 +0800)
spectrwm.c
patch
|
blob
|
history
diff --git
a/spectrwm.c
b/spectrwm.c
index
9a61347
..
62dd195
100644
(file)
--- a/
spectrwm.c
+++ b/
spectrwm.c
@@
-6927,7
+6927,7
@@
setup_screens(void)
/* init all workspaces */
/* XXX these should be dynamically allocated too */
- for (j = 0; j < workspace_limit; j++) {
+ for (j = 0; j < SWM_WS_MAX; j++) {
ws = &screens[i].ws[j];
ws->idx = j;
ws->name = NULL;