mirror of https://github.com/GNOME/gimp.git
app: fix projection and display render chunk-size envvars
This commit is contained in:
parent
2c4d5e4391
commit
69b7cda375
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue