|
|
|
|
@ -1954,7 +1954,9 @@ main_window *setup_window(){
|
|
|
|
|
config_str file = yon_file_open(yon_char_append(logrotate_config_path,dirs[i]),&filesize);
|
|
|
|
|
for (int j=0;j<filesize;j++){
|
|
|
|
|
file[j]=yon_char_divide_search(file[j],"\n",-1);
|
|
|
|
|
file[j]=yon_char_replace(file[j]," ","");
|
|
|
|
|
while (file[j][0]==' '){
|
|
|
|
|
yon_char_divide_search(file[j]," ",-1);
|
|
|
|
|
}
|
|
|
|
|
if (file[j][0]!='#'&&bracket_found==0&&strcmp(file[j],"")){
|
|
|
|
|
if (strstr(file[j],"{")) {
|
|
|
|
|
bracket_found = 1;
|
|
|
|
|
|