Ticket #120: smartmontools-duplicated-assignment.patch

File smartmontools-duplicated-assignment.patch, 481 bytes (added by nikai, 10 years ago)

patch

  • os_win32/daemon_win32.cpp

    a b int daemon_messagebox(int system, const  
    525525        mb.mode = MB_OK|MB_ICONWARNING
    526526                 |(svc_mode?MB_SERVICE_NOTIFICATION:0)
    527527                 |(system?MB_SYSTEMMODAL:MB_APPLMODAL);
    528         mb.title = title; mb.text = text;
     528        mb.title = title;
    529529        mb.text = text;
    530530        if (!(ht = CreateThread(NULL, 0, mbox_thread, &mb, 0, &tid)))
    531531                return -1;