Follow-up Comment #2, patch #3215 (project wesnoth):

Some notes on coding conventions:
We like to have code written in a more-or-less same style.

non-public class member variables (and only them) should end in underscore
(like 'max_duration_' when it is a class variables, and just 'max_duration'
when it is a local variable or a method parameter)

So, use max_duration_ only when it is a class variable, and never use
_max_duration 

Also, watch the spacing - use only tabs, not spaces, to indent C++ code in
wesnoth.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?3215>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to