diff --git a/src/sp-marker-loc.h b/src/sp-marker-loc.h
index 1b763f72495d0dd893d19e37441ef05b4b0770e6..b6877e5aacc672d0f515465f53014ae323e270dc 100644 (file)
--- a/src/sp-marker-loc.h
+++ b/src/sp-marker-loc.h
* These enums are to allow us to have 4-element arrays that represent a set of marker locations
* (all, start, mid, and end). This allows us to iterate through the array in places where we need
* to do a process across all of the markers, instead of separate code stanzas for each.
+ *
+ * IMPORTANT: the code assumes that the locations have the values as written below! so don't change the values!!!
*/
enum SPMarkerLoc {
- SP_MARKER_LOC,
- SP_MARKER_LOC_START,
- SP_MARKER_LOC_MID,
- SP_MARKER_LOC_END,
- SP_MARKER_LOC_QTY
+ SP_MARKER_LOC = 0,
+ SP_MARKER_LOC_START = 1,
+ SP_MARKER_LOC_MID = 2,
+ SP_MARKER_LOC_END = 3,
+ SP_MARKER_LOC_QTY = 4
};