summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2012-01-10 01:10:28 +0100
committerSebastian Rasmussen <sebras@gmail.com>2012-01-10 01:10:28 +0100
commit7d920025a2eaca1ec879d2e78b46576ca3351cc9 (patch)
treee13ad7288976df91e4f40285f9401a148ce4ddd7 /apps
parent6de45df10e024813ad7c62f31394f86fbcb364a7 (diff)
downloadmupdf-7d920025a2eaca1ec879d2e78b46576ca3351cc9.tar.xz
Fix many spelling errors.
Diffstat (limited to 'apps')
-rw-r--r--apps/pdfapp.c8
-rw-r--r--apps/pdfclean.c2
-rw-r--r--apps/win_main.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/apps/pdfapp.c b/apps/pdfapp.c
index 34fe09a5..f8c9c79e 100644
--- a/apps/pdfapp.c
+++ b/apps/pdfapp.c
@@ -36,7 +36,7 @@ char *pdfapp_version(pdfapp_t *app)
{
return
"MuPDF 0.9\n"
- "Copyright 2006-2011 Artifex Sofware, Inc.\n";
+ "Copyright 2006-2011 Artifex Software, Inc.\n";
}
char *pdfapp_usage(pdfapp_t *app)
@@ -813,7 +813,7 @@ void pdfapp_onkey(pdfapp_t *app, int c)
#endif
/*
- * Pan view, but dont need to repaint image
+ * Pan view, but don't need to repaint image
*/
case 'w':
@@ -1124,7 +1124,7 @@ void pdfapp_onmouse(pdfapp_t *app, int x, int y, int btn, int modifiers, int sta
{
/* Yes. We can assume that deltay != 0 */
int deltay = y - app->sely;
- /* Check whether the panning has occured in the
+ /* Check whether the panning has occurred in the
* direction that we are already crossing the
* limit it. If not, we can conclude that we
* have switched ends of the page and will thus
@@ -1133,7 +1133,7 @@ void pdfapp_onmouse(pdfapp_t *app, int x, int y, int btn, int modifiers, int sta
if( app->beyondy == 0 || (app->beyondy ^ deltay) >= 0 )
{
/* Updating how far we are beyond and
- * flipping pages if beyond threshhold
+ * flipping pages if beyond threshold
*/
app->beyondy += deltay;
if (app->beyondy > BEYOND_THRESHHOLD)
diff --git a/apps/pdfclean.c b/apps/pdfclean.c
index c114cffe..f0a33918 100644
--- a/apps/pdfclean.c
+++ b/apps/pdfclean.c
@@ -114,7 +114,7 @@ static void removeduplicateobjs(void)
for (num = 1; num < xref->len; num++)
{
- /* Only compare an object to objects preceeding it */
+ /* Only compare an object to objects preceding it */
for (other = 1; other < num; other++)
{
fz_obj *a, *b;
diff --git a/apps/win_main.c b/apps/win_main.c
index 7223f4e6..e04a5bf9 100644
--- a/apps/win_main.c
+++ b/apps/win_main.c
@@ -612,7 +612,7 @@ void handlekey(int c)
winrepaint(&gapp);
}
- /* translate VK into ascii equivalents */
+ /* translate VK into ASCII equivalents */
if (c > 256)
{
switch (c - 256)