equal
deleted
inserted
replaced
844 { |
844 { |
845 guint n = settings_opt_get_int("time_prefix"); |
845 guint n = settings_opt_get_int("time_prefix"); |
846 return timepreflengths[(n < 3 ? n : 0)]; |
846 return timepreflengths[(n < 3 ? n : 0)]; |
847 } |
847 } |
848 |
848 |
|
849 guint scr_gettextwidth(void) |
|
850 { |
|
851 return maxX - Roster_Width - scr_getprefixwidth(); |
|
852 } |
|
853 |
849 // scr_print_logwindow(string) |
854 // scr_print_logwindow(string) |
850 // Display the string in the log window. |
855 // Display the string in the log window. |
851 // Note: The string must be in the user's locale! |
856 // Note: The string must be in the user's locale! |
852 void scr_print_logwindow(const char *string) |
857 void scr_print_logwindow(const char *string) |
853 { |
858 { |