X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eaf4bde6e6585874c4d21a355231813fe08040f6..e733c4ce1e24cf7e4b0b0d8362fc59aaa7a7641c:/src/common/process.cpp diff --git a/src/common/process.cpp b/src/common/process.cpp index 2a4f5f5416..6dd44d891b 100644 --- a/src/common/process.cpp +++ b/src/common/process.cpp @@ -4,7 +4,6 @@ // Author: Guilhem Lavaux // Modified by: Vadim Zeitlin to check error codes, added Detach() method // Created: 24/06/98 -// RCS-ID: $Id$ // Copyright: (c) Guilhem Lavaux // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -179,7 +178,7 @@ bool wxProcess::Exists(int pid) void wxProcess::SetPriority(unsigned priority) { - wxCHECK_RET( priority >= wxPRIORITY_MIN && priority <= wxPRIORITY_MAX, + wxCHECK_RET( priority <= wxPRIORITY_MAX, wxS("Invalid process priority value.") ); m_priority = priority;