improvements to sort_random
This commit is contained in:
5
main.c
5
main.c
@@ -23,7 +23,7 @@ unsigned int file_modifiers;
|
||||
unsigned int status = (STATUS_RUN_BACKEND | STATUS_UPDATE_SCREEN_MASK | STATUS_RELOAD_DIRECTORY);
|
||||
char *start_path;
|
||||
char *global_path;
|
||||
time_t *seed;
|
||||
time_t seed;
|
||||
|
||||
WINDOW *win_t;
|
||||
WINDOW *win_b;
|
||||
@@ -205,7 +205,6 @@ void init() {
|
||||
setenv("START_PATH", start_path, 0);
|
||||
free(start_path);
|
||||
|
||||
seed = malloc(sizeof(time_t));
|
||||
*seed = time(NULL);
|
||||
seed = time(NULL);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user