[haiku-commits] Re: BRANCH midar-github.master - src/apps/fontdemo

  • From: Axel DÃrfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 20 Nov 2012 22:51:13 +0100

On 11/18/2012 10:48 PM, midar-github.master wrote:
        if (OutLineLevel())
                fFont.GetGlyphShapes(fString, size, fShapes);
        else
-               fFont.GetBoundingBoxesAsGlyphs(fString, size, B_SCREEN_METRIC, 
boundBoxes);
+               fFont.GetBoundingBoxesAsGlyphs(fString, size, B_SCREEN_METRIC,
+                       &boundBoxes[0]);

Besides the internal storage assumption that was already mentioned, the else part is now a multi-line statement that gets its own block.

Bye,
   Axel.


Other related posts: