diff options
| -rw-r--r-- | src/options.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/options.c b/src/options.c index a77c163..4d1e527 100644 --- a/src/options.c +++ b/src/options.c @@ -838,7 +838,7 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun)  			opt.use_conversion_cache = 0;  			break;  		case OPTION_window_id: -			opt.x11_windowid = atol(optarg); +			opt.x11_windowid = strtol(optarg, NULL, 0);  			break;  		case OPTION_zoom_step:  			opt.zoom_rate = atof(optarg); | 
