This commit is contained in:
AzaezelX 2023-05-27 20:47:21 -05:00
parent a5f3e70653
commit 166128dd73
7 changed files with 170 additions and 171 deletions

View file

@ -92,7 +92,7 @@ static nfdresult_t ZenityCommon(char** command, int commandLen, const char* defa
{
if(defaultPath != NULL)
{
char* prefix = "--filename";
char* prefix = "--filename=";
int len = strlen(prefix) + strlen(defaultPath) + 1;
char* tmp = (char*) calloc(len, 1);
@ -133,10 +133,6 @@ static nfdresult_t ZenityCommon(char** command, int commandLen, const char* defa
static nfdresult_t AllocPathSet(char* zenityList, nfdpathset_t *pathSet )
{
size_t bufSize = 0;
nfdchar_t *p_buf;
size_t count = 0;
assert(zenityList);
assert(pathSet);