|
|
|
|
@ -42,7 +42,7 @@ int yon_app_set_from_file(apps *target, const char *path){
|
|
|
|
|
int parsed_size;
|
|
|
|
|
config_str parsed = yon_char_parse(target->Exec,&parsed_size," ");
|
|
|
|
|
for (int i=0;i<parsed_size;i++){
|
|
|
|
|
if ((strlen(parsed[i])==2&&parsed[i][0]=='%')||parsed[i][0]=='-'){
|
|
|
|
|
if ((strlen(parsed[i])==2&&parsed[i][0]=='%')){
|
|
|
|
|
free(parsed[i]);
|
|
|
|
|
parsed[i] = yon_char_new(" ");
|
|
|
|
|
parsed[i][0]='\0';
|
|
|
|
|
|