[Freeciv-Dev] How to make client code 22 lines shorter.
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
There is triplicated code in create_goto_map in client/goto.c
The lines 370-380, 404-414 and 429-439 are identical and can be therefore
put outside the switch statement.
Jason, you did exactly the same thing in gotohand.c once (only there it
was a bit more complicated), do you want to do it here too?
Best,
G.
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] How to make client code 22 lines shorter.,
Gregory Berkolaiko <=
|
|