projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af084b4
)
* some pointer magic to get rid of warnings
author
Wilfried Göesgens
<willi@citadel.org>
Mon, 25 Aug 2008 22:11:48 +0000
(22:11 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Mon, 25 Aug 2008 22:11:48 +0000
(22:11 +0000)
webcit/roomops.c
patch
|
blob
|
history
diff --git
a/webcit/roomops.c
b/webcit/roomops.c
index 05a0ec4a2c00478631677f121e0f3fd08cb6adcd..400f7f64e01c0d9d2569207aea0642c70e895deb 100644
(file)
--- a/
webcit/roomops.c
+++ b/
webcit/roomops.c
@@
-3189,10
+3189,12
@@
void do_rooms_view(struct folder *fold, int max_folders, int num_floors) {
*/
void set_floordiv_expanded(void) {
struct wcsession *WCC = WC;
+ StrBuf *FloorDiv;
- WCC->floordiv_expanded = NewStrBuf();
- StrBufAppendBuf(WCC->floordiv_expanded, WCC->UrlFragment1, 0);
- set_preference("floordiv_expanded", WCC->floordiv_expanded, 1);
+ FloorDiv = NewStrBuf();
+ StrBufAppendBuf(FloorDiv, WCC->UrlFragment1, 0);
+ set_preference("floordiv_expanded", FloorDiv, 1);
+ WCC->floordiv_expanded = FloorDiv;
}
/**