Update copyright year.
[umurmur.git] / src / pds.c
index 0563c53653515d793c5be5c741809f8844bfb2b5..ec28928ba4ead6a6b10df61ce0885e8741494451 100644 (file)
--- a/src/pds.c
+++ b/src/pds.c
@@ -1,5 +1,5 @@
-/* Copyright (C) 2009-2010, Martin Johansson <martin@fatbob.nu>
-   Copyright (C) 2005-2010, Thorvald Natvig <thorvald@natvig.com>
+/* Copyright (C) 2009-2012, Martin Johansson <martin@fatbob.nu>
+   Copyright (C) 2005-2012, Thorvald Natvig <thorvald@natvig.com>
 
    All rights reserved.
 
@@ -95,7 +95,7 @@ uint8_t Pds_next8(pds_t *pds)
 
 int Pds_skip(pds_t *pds, int offset)
 {
-       if (pds->offset + offset < pds->maxsize) {
+       if (pds->offset + offset <= pds->maxsize) {
                pds->offset += offset;
                return offset;
        } else {