app: fix projection and display render chunk-size envvars

This commit is contained in:
Øyvind Kolås 2014-06-04 02:06:55 +02:00
parent 2c4d5e4391
commit 69b7cda375
2 changed files with 2 additions and 2 deletions

View File

@ -213,7 +213,7 @@ gimp_projection_class_init (GimpProjectionClass *klass)
env = strchr (env, 'x');
if (env)
height = atoi (env);
height = atoi (env + 1);
if (width > 0 && width <= 8192 &&
height > 0 && height <= 8192)

View File

@ -220,7 +220,7 @@ gimp_display_xfer_realize (GtkWidget *widget)
env = strchr (env, 'x');
if (env)
height = atoi (env);
height = atoi (env + 1);
if (width > 0 && width <= 8192 &&
height > 0 && height <= 8192)