summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-01-21 01:23:25 +0100
committerTor Andersson <tor@ghostscript.com>2010-01-21 01:23:25 +0100
commit9738cd7a08f2bf51d2306746d3b2811adc60b0bc (patch)
tree271cf3b38f944176c8b73a5e9171b3776da20549
parentf582f861296597ec47548ae6b0040066477c2669 (diff)
downloadmupdf-9738cd7a08f2bf51d2306746d3b2811adc60b0bc.tar.xz
Disable writing filetype associations to the registry in winmain.
-rw-r--r--apps/windows/winmain.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/windows/winmain.c b/apps/windows/winmain.c
index 8eb8bc6d..a0d4e00e 100644
--- a/apps/windows/winmain.c
+++ b/apps/windows/winmain.c
@@ -29,7 +29,7 @@ static pdfapp_t gapp;
/*
* Associate PDFView with PDF files.
*/
-
+#if 0
void associate(char *argv0)
{
char tmp[256];
@@ -97,6 +97,7 @@ void associate(char *argv0)
RegCloseKey(key);
}
+#endif
/*
* Dialog boxes
@@ -780,7 +781,7 @@ int main(int argc, char **argv)
pdfapp_init(&gapp);
- associate(argv[0]);
+ /* associate(argv[0]); */
winopen();
if (argc == 2)