aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am8
-rw-r--r--src/RegExp.cc2
2 files changed, 4 insertions, 6 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 9e15d8b..3ccf687 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -65,11 +65,9 @@ if GNOME
65gnome_SOURCE= Gnome.hh Gnome.cc 65gnome_SOURCE= Gnome.hh Gnome.cc
66endif 66endif
67if REMEMBER_SRC 67if REMEMBER_SRC
68REMEMBER_SOURCE= Remember.hh Remember.cc
69# For now we only want regexp if we have remember 68# For now we only want regexp if we have remember
70if REGEXP_SRC 69REMEMBER_SOURCE= Remember.hh Remember.cc \
71REGEXP_SOURCE = RegExp.hh RegExp.cc ClientPattern.hh ClientPattern.cc 70 RegExp.hh RegExp.cc ClientPattern.hh ClientPattern.cc
72endif
73endif 71endif
74if TOOLBAR_SRC 72if TOOLBAR_SRC
75TOOLBAR_SOURCE = Toolbar.hh Toolbar.cc \ 73TOOLBAR_SOURCE = Toolbar.hh Toolbar.cc \
@@ -130,7 +128,7 @@ fluxbox_SOURCES = AtomHandler.hh ArrowButton.hh ArrowButton.cc \
130 Resources.cc \ 128 Resources.cc \
131 WindowCmd.hh WindowCmd.cc \ 129 WindowCmd.hh WindowCmd.cc \
132 ${newwmspec_SOURCE} ${gnome_SOURCE} \ 130 ${newwmspec_SOURCE} ${gnome_SOURCE} \
133 ${REMEMBER_SOURCE} ${REGEXP_SOURCE} ${TOOLBAR_SOURCE} 131 ${REMEMBER_SOURCE} ${TOOLBAR_SOURCE}
134 132
135 133
136LDADD=FbTk/libFbTk.a defaults.$(OBJEXT) 134LDADD=FbTk/libFbTk.a defaults.$(OBJEXT)
diff --git a/src/RegExp.cc b/src/RegExp.cc
index 96f3ce4..50748c5 100644
--- a/src/RegExp.cc
+++ b/src/RegExp.cc
@@ -99,6 +99,6 @@ bool RegExp::error() const {
99#ifdef USE_REGEXP 99#ifdef USE_REGEXP
100 return m_regex == 0; 100 return m_regex == 0;
101#else 101#else
102 return return m_str == ""; 102 return m_str == "";
103#endif // USE_REGEXP 103#endif // USE_REGEXP
104} 104}