Ticket #12843: 0033-DecorManager.cpp-fix-comparison-between-pointer-and-.patch

File 0033-DecorManager.cpp-fix-comparison-between-pointer-and-.patch, 880 bytes (added by mt, 8 years ago)
  • src/servers/app/decorator/DecorManager.cpp

    From 92a191cf30bd29c94a03b2325130a53e4b4c8f4a Mon Sep 17 00:00:00 2001
    From: Murai Takashi <tmurai01@gmail.com>
    Date: Sat, 2 Jul 2016 18:04:32 +0900
    Subject: [PATCH 33/33] DecorManager.cpp: fix comparison between pointer and
     integer
    
    ---
     src/servers/app/decorator/DecorManager.cpp | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/src/servers/app/decorator/DecorManager.cpp b/src/servers/app/decorator/DecorManager.cpp
    index b09830e..ef01bd6 100644
    a b DecorAddOn::AllocateDecorator(Desktop* desktop, DrawingEngine* engine,  
    7070
    7171    decorator->UpdateColors(settings);
    7272
    73     if (decorator->AddTab(settings, title, look, flags) == false) {
     73    if (decorator->AddTab(settings, title, look, flags) == NULL) {
    7474        delete decorator;
    7575        return NULL;
    7676    }