diff options
Diffstat (limited to 'platform/winrt/mupdfwinrt')
-rw-r--r-- | platform/winrt/mupdfwinrt/ContentItem.h | 2 | ||||
-rw-r--r-- | platform/winrt/mupdfwinrt/muctx.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/winrt/mupdfwinrt/ContentItem.h b/platform/winrt/mupdfwinrt/ContentItem.h index 90069459..7077127d 100644 --- a/platform/winrt/mupdfwinrt/ContentItem.h +++ b/platform/winrt/mupdfwinrt/ContentItem.h @@ -22,7 +22,7 @@ namespace mupdfwinrt { } void set(int value) - { + { if (value < 0) throw ref new Platform::InvalidArgumentException(); page = value; diff --git a/platform/winrt/mupdfwinrt/muctx.h b/platform/winrt/mupdfwinrt/muctx.h index cce78a29..cfaa1cae 100644 --- a/platform/winrt/mupdfwinrt/muctx.h +++ b/platform/winrt/mupdfwinrt/muctx.h @@ -19,7 +19,7 @@ using namespace Platform; /* For String */ using namespace Windows::Foundation; /* For Point */ /* These are the std objects used to interface to muctx. We do use windows - String and Point types however */ + String and Point types however */ /* Links */ typedef struct document_link_s |