diff options
author | Tatsuya Kinoshita <tats@vega.ocn.ne.jp> | 2011-05-04 07:45:29 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@vega.ocn.ne.jp> | 2011-05-04 07:45:29 +0000 |
commit | 2945f70be161735bf7efaefde43125a9ad3a4c88 (patch) | |
tree | da85d4bca39cba5a7c4e6714c8b73d6a8cd547fe /w3mimg/w3mimg.c | |
parent | Releasing debian version 0.5.2-10 (diff) | |
download | w3m-2945f70be161735bf7efaefde43125a9ad3a4c88.tar.gz w3m-2945f70be161735bf7efaefde43125a9ad3a4c88.zip |
Releasing debian version 0.5.3-1debian/0.5.3-1
Diffstat (limited to 'w3mimg/w3mimg.c')
-rw-r--r-- | w3mimg/w3mimg.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/w3mimg/w3mimg.c b/w3mimg/w3mimg.c index 144a2d9..46b5cac 100644 --- a/w3mimg/w3mimg.c +++ b/w3mimg/w3mimg.c @@ -1,4 +1,4 @@ -/* $Id: w3mimg.c,v 1.5 2002/11/06 03:50:49 ukai Exp $ */ +/* $Id: w3mimg.c,v 1.6 2010/12/21 10:13:55 htrb Exp $ */ #include <stdio.h> #include <stdlib.h> @@ -14,6 +14,10 @@ w3mimg_open() uid_t runner_uid = getuid(); uid_t owner_uid = geteuid(); #endif +#ifdef USE_W3MIMG_WIN + if (w_op == NULL) + w_op = w3mimg_winopen(); +#endif #ifdef USE_W3MIMG_X11 #ifdef W3MIMGDISPLAY_SETUID /* run in user privileges */ |