about summary refs log tree commit diff stats
path: root/src/LYOptions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYOptions.c')
-rw-r--r--src/LYOptions.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/LYOptions.c b/src/LYOptions.c
index 84f2f3a7..59ba4822 100644
--- a/src/LYOptions.c
+++ b/src/LYOptions.c
@@ -336,7 +336,7 @@ draw_options:
 #else
     addstr(local_exec_on_local_files ? "FOR LOCAL FILES ONLY" :
 				       "ALWAYS OFF          ");
-#endif /* NEVER_ALLOW_REMOTE_EXEC */
+#endif /* !NEVER_ALLOW_REMOTE_EXEC */
 #endif /* ALLOW_USERS_TO_CHANGE_EXEC_WITHIN_OPTIONS */
 
     move(LYlines-3, 2);
@@ -1369,9 +1369,8 @@ draw_options:
 		if (local_exec) {
 		    itmp = 2;
 		} else
-#else
+#endif /* !NEVER_ALLOW_REMOTE_EXEC */
 		{
-#endif /* NEVER_ALLOW_REMOTE_EXEC */
 		    if (local_exec_on_local_files) {
 			itmp= 1;
 		    } else {
@@ -1389,7 +1388,7 @@ draw_options:
 #ifndef NEVER_ALLOW_REMOTE_EXEC
 		StrAllocCopy(choices[2], "ALWAYS ON           ");
 		choices[3] = NULL;
-#endif /* NEVER_ALLOW_REMOTE_EXEC */
+#endif /* !NEVER_ALLOW_REMOTE_EXEC */
 		if (!LYSelectPopups) {
 		    itmp = boolean_choice(itmp,
 					  L_EXEC, -1,
@@ -1409,7 +1408,7 @@ draw_options:
 		FREE(choices[1]);
 #ifndef NEVER_ALLOW_REMOTE_EXEC
 		FREE(choices[2]);
-#endif /* NEVER_ALLOW_REMOTE_EXEC */
+#endif /* !NEVER_ALLOW_REMOTE_EXEC */
 		if (!exec_frozen) {
 		    switch (itmp) {
 			case 0:
@@ -1425,7 +1424,7 @@ draw_options:
 			    local_exec = TRUE;
 			    local_exec_on_local_files = FALSE;
 			    break;
-#endif /* NEVER_ALLOW_REMOTE_EXEC */
+#endif /* !NEVER_ALLOW_REMOTE_EXEC */
 		    } /* end switch */
 		}
 		response = ' ';
f='#n170'>170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264