all repos — fluxbox @ 06de965f4b8e94bfb791fc14e4f3b05b44b0c73c

custom fork of the fluxbox windowmanager

fix crash bug when no name defined
rathnor rathnor
commit

06de965f4b8e94bfb791fc14e4f3b05b44b0c73c

parent

6d91153212f2215042d3c91631f2b11329bfc226

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/Remember.ccsrc/Remember.cc

@@ -21,7 +21,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Remember.cc,v 1.22 2003/06/05 17:40:02 fluxgen Exp $ +// $Id: Remember.cc,v 1.23 2003/06/06 14:07:22 rathnor Exp $ #include "Remember.hh" #include "StringUtil.hh"

@@ -130,7 +130,7 @@ XClassHint ch;

if (XGetClassHint(FbTk::App::instance()->display(), w, &ch) == 0) { cerr<<"Failed to read class hint!"<<endl; - return 0; + return ""; } else { string instance_name; if (ch.res_name != 0) {