diff options
-rw-r--r-- | apps/pdfapp.c | 7 | ||||
-rw-r--r-- | apps/pdfapp.h | 1 | ||||
-rw-r--r-- | apps/win_main.c | 2 | ||||
-rw-r--r-- | apps/win_res.rc | 8 | ||||
-rw-r--r-- | apps/x11_main.c | 2 | ||||
-rw-r--r-- | debian/changelog | 4 |
6 files changed, 18 insertions, 6 deletions
diff --git a/apps/pdfapp.c b/apps/pdfapp.c index fcd21f52..58f60352 100644 --- a/apps/pdfapp.c +++ b/apps/pdfapp.c @@ -30,6 +30,13 @@ static void pdfapp_error(pdfapp_t *app, fz_error error) winerror(app, error); } +char *pdfapp_version(pdfapp_t *app) +{ + return + "MuPDF 0.8\n" + "Copyright 2006-2011 Artifex Sofware, Inc.\n"; +} + char *pdfapp_usage(pdfapp_t *app) { return diff --git a/apps/pdfapp.h b/apps/pdfapp.h index 321e8033..3771485e 100644 --- a/apps/pdfapp.h +++ b/apps/pdfapp.h @@ -79,6 +79,7 @@ void pdfapp_init(pdfapp_t *app); void pdfapp_open(pdfapp_t *app, char *filename, int fd); void pdfapp_close(pdfapp_t *app); +char *pdfapp_version(pdfapp_t *app); char *pdfapp_usage(pdfapp_t *app); void pdfapp_onkey(pdfapp_t *app, int c); diff --git a/apps/win_main.c b/apps/win_main.c index 07d1e932..d3dbb3f8 100644 --- a/apps/win_main.c +++ b/apps/win_main.c @@ -225,7 +225,7 @@ dlogaboutproc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) switch(message) { case WM_INITDIALOG: - SetDlgItemTextA(hwnd, 2, "MuPDF is Copyright (C) 2006-2010 Artifex Software Inc."); + SetDlgItemTextA(hwnd, 2, pdfapp_version(&gapp)); SetDlgItemTextA(hwnd, 3, pdfapp_usage(&gapp)); return TRUE; case WM_COMMAND: diff --git a/apps/win_res.rc b/apps/win_res.rc index 71cb57f8..9f6a0062 100644 --- a/apps/win_res.rc +++ b/apps/win_res.rc @@ -49,13 +49,13 @@ BEGIN LTEXT "", 0x27, 60, 125, 100, 10, 0 END -IDD_DLOGABOUT DIALOG 50, 50, 200, 210 +IDD_DLOGABOUT DIALOG 50, 50, 200, 220 STYLE 128 | 0x80000000 CAPTION " About MuPDF " FONT 8, "MS Shell Dlg" BEGIN - DEFPUSHBUTTON "Okay", 1, 200-10-50, 210-7-14, 50, 14, 0x50010001 - LTEXT "<copyright>", 2, 10, 10, 180, 10, 0 - LTEXT "<usage>", 3, 10, 25, 180, 160, 0 + DEFPUSHBUTTON "Okay", 1, 200-10-50, 220-7-14, 50, 14, 0x50010001 + LTEXT "<copyright>", 2, 10, 10, 180, 20, 0 + LTEXT "<usage>", 3, 10, 35, 180, 160, 0 END diff --git a/apps/x11_main.c b/apps/x11_main.c index 2a9fd096..4b3290f6 100644 --- a/apps/x11_main.c +++ b/apps/x11_main.c @@ -231,7 +231,7 @@ void wintitle(pdfapp_t *app, char *s) void winhelp(pdfapp_t *app) { - fprintf(stderr, "%s", pdfapp_usage(app)); + fprintf(stderr, "%s\n%s", pdfapp_version(app), pdfapp_usage(app)); } void winresize(pdfapp_t *app, int w, int h) diff --git a/debian/changelog b/debian/changelog index 1861a776..891bfdce 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,7 @@ +mupdf (0.8-1) unstable; urgency=low + + * MuPDF version 0.8 + mupdf (0.7-1) unstable; urgency=low * MuPDF version 0.7 |