diff options
-rw-r--r-- | src/Remember.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Remember.cc b/src/Remember.cc index 35d6311..5480d20 100644 --- a/src/Remember.cc +++ b/src/Remember.cc | |||
@@ -21,7 +21,7 @@ | |||
21 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 21 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
22 | // DEALINGS IN THE SOFTWARE. | 22 | // DEALINGS IN THE SOFTWARE. |
23 | 23 | ||
24 | // $Id: Remember.cc,v 1.22 2003/06/05 17:40:02 fluxgen Exp $ | 24 | // $Id: Remember.cc,v 1.23 2003/06/06 14:07:22 rathnor Exp $ |
25 | 25 | ||
26 | #include "Remember.hh" | 26 | #include "Remember.hh" |
27 | #include "StringUtil.hh" | 27 | #include "StringUtil.hh" |
@@ -130,7 +130,7 @@ std::string getWMClass(Window w) { | |||
130 | 130 | ||
131 | if (XGetClassHint(FbTk::App::instance()->display(), w, &ch) == 0) { | 131 | if (XGetClassHint(FbTk::App::instance()->display(), w, &ch) == 0) { |
132 | cerr<<"Failed to read class hint!"<<endl; | 132 | cerr<<"Failed to read class hint!"<<endl; |
133 | return 0; | 133 | return ""; |
134 | } else { | 134 | } else { |
135 | string instance_name; | 135 | string instance_name; |
136 | if (ch.res_name != 0) { | 136 | if (ch.res_name != 0) { |