Fix dumb error. :)

This commit is contained in:
David F. Skoll
2011-12-24 11:02:52 -05:00
parent 0c66f5f3af
commit 5eabd7d8d8
+2 -1
View File
@@ -665,7 +665,8 @@ int DoSubst(ParsePtr p, DynamicBuffer *dbuf, Trigger *t, TimeTrig *tt, int jul,
if (DBufPutc(dbuf, c) != OK) return E_NO_MEM;
}
if (isupper(c)) {
os = DBufValue(dbuf) - strlen(s);
os = DBufValue(dbuf);
os += strlen(os) - strlen(s);
*os = UPPER(*os);
}
}