Skip to content

Commit

Permalink
Fix dpx warnings raised that was found during investigations on #195.
Browse files Browse the repository at this point in the history
  • Loading branch information
crlf0710 committed Nov 17, 2019
1 parent f55d0f6 commit 55fa14c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dpx/src/specials/misc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ pub unsafe extern "C" fn spc_misc_setup_handler(
let key = (*args).cur;
let mut keylen = 0;
for &c in (*args).cur {
if (c as u8).is_ascii_alphabetic() {
if !(c as u8).is_ascii_alphabetic() {
break;
}
keylen += 1;
Expand Down

0 comments on commit 55fa14c

Please sign in to comment.