mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* HACKING: fixed typo.
This commit is contained in:
parent
727b62e229
commit
44c189e83d
2
HACKING
2
HACKING
@ -338,7 +338,7 @@ g_strdup: If you use g_strdup to create a local copy of a string, use
|
||||
/* ... */
|
||||
g_free (pathref);
|
||||
|
||||
The "const" will make the pointer unmodifiable (local_copy++
|
||||
The "const" will make the pointer unmodifiable (pathref++
|
||||
is not possible), but you can still modify the string contents.
|
||||
|
||||
g_strlcpy: Whenever you use this function, be sure to add "glibcompat.h"
|
||||
|
Loading…
Reference in New Issue
Block a user