Patch : 2.1 nopatch (Linux)

Files :

Bugs: 0000149

Il timer per il nome del menu non funziona


git-svn-id: svn://10.65.10.50/trunk@12046 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 2004-04-30 22:08:29 +00:00
parent 9f8714bd80
commit 2296b04f79

@ -600,7 +600,11 @@ void TMenulist_window::on_idle()
{
if (ADVANCED_GRAPHICS)
{
#ifdef LINUX
const clock_t max_clock = (3*CLOCKS_PER_SEC) / 10;
#else
const clock_t max_clock = 3*CLOCKS_PER_SEC;
#endif
const clock_t elapsed = clock() - _last_update;
if (elapsed <= max_clock)
{