Logrotate commandshas been fixed

pull/46/head
parent 0f0dd857da
commit cc0a51cb2f

@ -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;

@ -79,7 +79,7 @@
<property name="can-focus">False</property>
<property name="icon-name">emblem-ok-symbolic</property>
</object>
<object class="GtkWindow">
<object class="GtkWindow" id="MainWindow">
<property name="width-request">800</property>
<property name="height-request">600</property>
<property name="can-focus">False</property>

Loading…
Cancel
Save