mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-29 14:05:22 -04:00
[misc] add static_strcat & static_strcpy and use static_ calls wherever possible
* Also set Rufus next to 2.17 and fix a warning
This commit is contained in:
parent
5d371088cb
commit
90dc847e24
23 changed files with 121 additions and 120 deletions
|
@ -94,7 +94,7 @@ static __inline char* ReadIniKeyStr(const char* key) {
|
|||
str[0] = 0;
|
||||
val = get_token_data_file(key, ini_file);
|
||||
if (val != NULL) {
|
||||
safe_strcpy(str, sizeof(str), val);
|
||||
static_strcpy(str, val);
|
||||
free(val);
|
||||
}
|
||||
return str;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue