[josm-dev] Extrude 'move along normal' and cleanups

Dirk Stöcker openstreetmap at dstoecker.de
Sun Nov 1 19:05:49 GMT 2009


On Sun, 1 Nov 2009, Robert Scott wrote:

> The previous code used a 'mode' of null to represent the initial 
> (non-dragging) state of the mapmode and an inconsistent use of the 
> 'select' mode. I changed it so null is an invalid mode and 'select' is 
> the initial mode. Hence at this this line I didn't know what to say when 
> mode is null. Perhaps it should be some default extrude string - I don't 
> know - but it should never happen.

Then remove it. tr("") results in the translators information string which 
is surely not wanted.

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)





More information about the josm-dev mailing list