equal
deleted
inserted
replaced
60 |
60 |
61 time(&now_t); |
61 time(&now_t); |
62 now = localtime(&now_t); |
62 now = localtime(&now_t); |
63 strftime(buf, sizeof(buf), strfmt, now); |
63 strftime(buf, sizeof(buf), strfmt, now); |
64 settings_set(SETTINGS_TYPE_OPTION, "info", buf); |
64 settings_set(SETTINGS_TYPE_OPTION, "info", buf); |
65 scr_UpdateChatStatus(TRUE); |
65 scr_update_chat_status(TRUE); |
66 |
66 |
67 if (precision_onesec) |
67 if (precision_onesec) |
68 return TRUE; // Let's be called again in 1 second |
68 return TRUE; // Let's be called again in 1 second |
69 |
69 |
70 // Set up new timeout event |
70 // Set up new timeout event |
107 clock_setup_timer(FALSE); |
107 clock_setup_timer(FALSE); |
108 settings_set(SETTINGS_TYPE_OPTION, "info", backup_info); |
108 settings_set(SETTINGS_TYPE_OPTION, "info", backup_info); |
109 g_free(backup_info); |
109 g_free(backup_info); |
110 g_free(strfmt); |
110 g_free(strfmt); |
111 backup_info = strfmt = NULL; // probably useless... |
111 backup_info = strfmt = NULL; // probably useless... |
112 scr_UpdateChatStatus(TRUE); |
112 scr_update_chat_status(TRUE); |
113 } |
113 } |
114 |
114 |
115 /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ |
115 /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ |