This website works better with JavaScript.
Home
Explore
Help
Sign In
tovi
/
dmenu
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
fix UB with the function iscntrl()
From commit
6818e07291
by NRK, thanks
master
Hiltjo Posthuma
3 years ago
parent
31fa07b984
commit
e73651f12a
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
dmenu.c
+ 1
- 1
dmenu.c
View File
@ -415,7 +415,7 @@ keypress(XKeyEvent *ev)
switch
(
ksym
)
{
default
:
insert
:
if
(
!
iscntrl
(
*
buf
)
)
if
(
!
iscntrl
(
(
unsigned
char
)
*
buf
)
)
insert
(
buf
,
len
)
;
break
;
case
XK_Delete
:
Write
Preview
Loading…
Cancel
Save