summaryrefslogtreecommitdiff
path: root/src/window.h
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2009-07-12 15:42:30 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2009-07-12 15:42:30 +0200
commit26326de2c8724a69125387f684f67d5e394bdbd4 (patch)
tree0cd7a632032b0394708105084ea9bee67459c5b1 /src/window.h
parentc20d8694aeb6a9bc39a3523327b37ab3389c647c (diff)
fix setting format flags in Window::operator<<(Format)
I though static variables are created for each class object, but apparently they aren't, which makes the previous design utterly broken. I'm suprised it somehow worked before.
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/window.h b/src/window.h
index dcf7b9f7..069d0e70 100644
--- a/src/window.h
+++ b/src/window.h
@@ -195,6 +195,10 @@ namespace NCurses
private:
std::deque<std::wstring> *itsHistory;
+
+ int itsBoldCounter;
+ int itsReverseCounter;
+ int itsAltCharsetCounter;
};
}