mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-16 10:40:19 +00:00
Fix operator precedence oversight (AND vs OR)
This commit is contained in:
@@ -585,7 +585,7 @@ logmask_is_fullpath ()
|
|||||||
* - starts with '\' which denotes the root directory of the current drive letter
|
* - starts with '\' which denotes the root directory of the current drive letter
|
||||||
* - starts with a drive letter and followed by ':'
|
* - starts with a drive letter and followed by ':'
|
||||||
*/
|
*/
|
||||||
if (prefs.logmask[0] == '\\' || ((prefs.logmask[0] >= 'A' && prefs.logmask[0] <= 'Z') || (prefs.logmask[0] >= 'a' && prefs.logmask[0] <= 'z') && prefs.logmask[1] == ':'))
|
if (prefs.logmask[0] == '\\' || (((prefs.logmask[0] >= 'A' && prefs.logmask[0] <= 'Z') || (prefs.logmask[0] >= 'a' && prefs.logmask[0] <= 'z')) && prefs.logmask[1] == ':'))
|
||||||
#else
|
#else
|
||||||
if (prefs.logmask[0] == '/')
|
if (prefs.logmask[0] == '/')
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user