Commit f43092cb authored by Jehan's avatar Jehan
Browse files

plug-ins: make screenshot-win32 compile again.

Commit e518b975 broke Win32 compilation with a non-defined variable
"monitor". I made a dirty "fix" by using shootvals->monitor.
Apparently, seeing previous comment, that is probably not the right
value but Mitch is on it and I leave him work it out.
At least now it builds.
parent 4c33008f
......@@ -164,7 +164,11 @@ screenshot_win32_shoot (ScreenshotValues *shootvals,
GimpColorProfile *profile;
profile = gimp_screen_get_color_profile (screen, monitor);
/* XXX No idea if the "monitor" value is right at all, especially
* considering above comment. Just make so that it at least
* compiles!
profile = gimp_screen_get_color_profile (screen, shootvals->monitor);
if (profile)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment