X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eaf4bde6e6585874c4d21a355231813fe08040f6..63e1921d0be4956ab729735189ccf637773a7e27:/src/common/process.cpp?ds=sidebyside diff --git a/src/common/process.cpp b/src/common/process.cpp index 2a4f5f5416..0e09eb7506 100644 --- a/src/common/process.cpp +++ b/src/common/process.cpp @@ -179,7 +179,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;