summaryrefslogtreecommitdiffstats
path: root/libkcal/versit/vobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/versit/vobject.c')
-rw-r--r--libkcal/versit/vobject.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libkcal/versit/vobject.c b/libkcal/versit/vobject.c
index e52cecbef..0bb37041b 100644
--- a/libkcal/versit/vobject.c
+++ b/libkcal/versit/vobject.c
@@ -21,7 +21,7 @@ ANY OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS OR
MODIFICATIONS.
IN NO EVENT SHALL ANY LICENSOR BE LIABLE TO ANY PARTY FOR DIRECT,
-INDIRECT, SPECIAL OR CONSETQUENTIAL DAMAGES OR LOST PROFITS ARISING OUT
+INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOST PROFITS ARISING OUT
OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
@@ -1106,7 +1106,7 @@ static int writeBase64(OFile *fp, unsigned char *s, long len)
unsigned long trip;
unsigned char b;
char quad[5];
-#define MAXTQUADS 16
+#define MAXQUADS 16
quad[4] = 0;
@@ -1133,8 +1133,8 @@ static int writeBase64(OFile *fp, unsigned char *s, long len)
/* now output 'quad' with appropriate whitespace and line ending */
appendsOFile(fp, (numQuads == 0 ? " " : ""));
appendsOFile(fp, quad);
- appendsOFile(fp, ((cur >= len)?"\n" :(numQuads==MAXTQUADS-1?"\n" : "")));
- numQuads = (numQuads + 1) % MAXTQUADS;
+ appendsOFile(fp, ((cur >= len)?"\n" :(numQuads==MAXQUADS-1?"\n" : "")));
+ numQuads = (numQuads + 1) % MAXQUADS;
}
appendcOFile(fp,'\n');