-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't hardcode the last element of RoomField enum
The comparisons hardcoded "10", which was off by one after latest RoomField enum extension. This change adds a one-past last element to the enum field and uses that in the comparisons. Fixes the _noride command. Based on a patch by Thomas Equeter. https://sourceforge.net/p/mmapper/patches/2/ git-svn-id: svn://svn.code.sf.net/p/mmapper/code/trunk/mmapper@218 14c008a5-6e10-0410-bf79-c100e0f1932b
- Loading branch information
klember
committed
Jul 14, 2013
1 parent
1483e05
commit e5c265e
Showing
2 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters