pingus-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pingus-CVS] CVS: Games/Pingus/src console.cxx,1.14,1.15 demo_sessio


From: David Philippi
Subject: Re: [Pingus-CVS] CVS: Games/Pingus/src console.cxx,1.14,1.15 demo_session.cxx,1.8,1.9 gettext.h,1.1,1.2 level_result.cxx,1.16,1.17 menu_button.cxx,1.11,1.12 result_screen.cxx,1.17,1.18 smallmap.cxx,1.37,1.38 story_screen.cxx,1.20,1.21
Date: 17 Jun 2003 17:18:05 +0200

Am Die, 2003-06-17 um 16.09 schrieb address@hidden:
> Log Message:
> a bunch of very small code cleanups
[...]
> -  unsigned int window_start = Math::max(0, static_cast<int>(buffer.size() - 
> number_of_lines - current_pos));
> +  unsigned int window_start = Math::max(0, int(buffer.size() - 
> number_of_lines - current_pos));

In how far is replacing an explicit static_cast<int> with an temporary
int code cleanup?
 
> -  snprintf(str, 128, _("Pingus killed:  %3d/%3d"),
> +  snprintf(str, 128, _("Pingus died:  %3d/%3d"),

BTW that one's not only very simple cleanup but it changes a message to
be translated, doesn't matter much except for the fact that before we
could have release a 0.6.1 without updating any translations.

Bye David






reply via email to

[Prev in Thread] Current Thread [Next in Thread]