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
Avoid using the same buffer
master
Arun Prakash Jana
6 years ago
parent
3cf81482a4
commit
d3d9d1ed3a
No known key found for this signature in database
GPG Key ID:
A75979F35C080412
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
nnn.c
+ 2
- 2
nnn.c
View File
@@ -1303,9 +1303,9 @@ END:
settimeout();
DPRINTF_S(buf);
wcstombs(g_buf, buf, NAME_MAX);
wcstombs(g_buf
+ ((NAME_MAX + 1) << 4)
, buf, NAME_MAX);
clearprompt();
return g_buf;
return g_buf
+ ((NAME_MAX + 1) << 4)
;
}
/*
Write
Preview
Loading…
Cancel
Save