This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
nnn
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
No need for strlen()
Thanks Hiltjo!
master
sin
9 years ago
parent
252e8561ef
commit
d1d086d91e
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
noice.c
+ 1
- 1
noice.c
View File
@@ -344,7 +344,7 @@ readln(void)
noecho();
curs_set(FALSE);
timeout(1000);
return
strlen(ln)
? strdup(ln) : NULL;
return
ln[0]
? strdup(ln) : NULL;
}
/*
Write
Preview
Loading…
Cancel
Save