aboutsummaryrefslogtreecommitdiff
path: root/src/Remember.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Remember.cc')
-rw-r--r--src/Remember.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Remember.cc b/src/Remember.cc
index 10aa52c..c4eeb25 100644
--- a/src/Remember.cc
+++ b/src/Remember.cc
@@ -240,7 +240,7 @@ string escapeRememberChars(const string& str) {
240 escaped_str.reserve(str.capacity()); 240 escaped_str.reserve(str.capacity());
241 241
242 string::const_iterator i; 242 string::const_iterator i;
243 for (i = str.begin(); i != str.end(); i++) { 243 for (i = str.begin(); i != str.end(); ++i) {
244 switch (*i) { 244 switch (*i) {
245 case '(': case ')': case '[': case ']': 245 case '(': case ')': case '[': case ']':
246 escaped_str += '\\'; 246 escaped_str += '\\';
@@ -671,7 +671,7 @@ Application* Remember::find(WinClient &winclient) {
671 return wc_it->second; 671 return wc_it->second;
672 else { 672 else {
673 Patterns::iterator it = m_pats->begin(); 673 Patterns::iterator it = m_pats->begin();
674 for (; it != m_pats->end(); it++) 674 for (; it != m_pats->end(); ++it)
675 if (it->first->match(winclient) && 675 if (it->first->match(winclient) &&
676 it->second->is_transient == winclient.isTransient()) { 676 it->second->is_transient == winclient.isTransient()) {
677 it->first->addMatch(); 677 it->first->addMatch();
@@ -893,7 +893,7 @@ void Remember::save() {
893 893
894 Patterns::iterator git = m_pats->begin(); 894 Patterns::iterator git = m_pats->begin();
895 Patterns::iterator git_end = m_pats->end(); 895 Patterns::iterator git_end = m_pats->end();
896 for (; git != git_end; git++) { 896 for (; git != git_end; ++git) {
897 if (git->second == &a) { 897 if (git->second == &a) {
898 apps_file << (a.is_transient ? " [transient]" : " [app]") << 898 apps_file << (a.is_transient ? " [transient]" : " [app]") <<
899 git->first->toString()<<endl; 899 git->first->toString()<<endl;
@@ -1389,7 +1389,7 @@ void Remember::updateClientClose(WinClient &winclient) {
1389 1389
1390 if (app) { 1390 if (app) {
1391 Patterns::iterator it = m_pats->begin(); 1391 Patterns::iterator it = m_pats->begin();
1392 for (; it != m_pats->end(); it++) { 1392 for (; it != m_pats->end(); ++it) {
1393 if (it->second == app) { 1393 if (it->second == app) {
1394 it->first->removeMatch(); 1394 it->first->removeMatch();
1395 break; 1395 break;