Skip to content
Snippets Groups Projects
Commit b1e17054 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Resolve clang warning

warning: result of comparison of constant 100000 with expression of type 'uint16_t'
(aka 'unsigned short') is always true
parent 808e96db
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@ void node_menu()
j=WIN_ORG|WIN_ACT|WIN_INSACT|WIN_DELACT;
if(cfg.sys_nodes>1)
j|=WIN_DEL|WIN_COPY;
if(cfg.sys_nodes<MAX_NODES && cfg.sys_nodes<MAX_OPTS)
if(cfg.sys_nodes<MAX_NODES)
j|=WIN_INS;
if(savnode)
j|=WIN_PASTE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment