offset is the other way

This commit is contained in:
Jake Visser 2017-07-12 23:02:35 -07:00
commit a77914b088

View file

@ -182,7 +182,7 @@ namespace qcbadge.Controllers
String badgeIdStr = qcData.Substring(0, 4); String badgeIdStr = qcData.Substring(0, 4);
System.Diagnostics.Debug.WriteLine(badgeIdStr); System.Diagnostics.Debug.WriteLine(badgeIdStr);
int badgeId = Convert.ToInt32(badgeIdStr, 16) - 1; int badgeId = Convert.ToInt32(badgeIdStr, 16) + 1;
System.Diagnostics.Debug.WriteLine(badgeId); System.Diagnostics.Debug.WriteLine(badgeId);
String curIconStr = qcData.Substring(4, 2); String curIconStr = qcData.Substring(4, 2);