Code review comment for lp://qastaging/~smspillaz/unity/unity.fix_868930

Revision history for this message
Tim Penhey (thumper) wrote :

How about:

  bool maximized = PluginAdapter::Default()->MaximizeIfBigEnough(window);
  if (!maximized)

I find this easier to read, and the compiler will optimise the temporary out.

review: Approve (conditional)

« Back to merge proposal