From 442a5201507486fa1931db48cd93a9a439991baa Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sun, 11 May 2014 12:28:07 -0700 Subject: [PATCH] GUAC-674: Fix typo in comment. Make __guac_common_surface_flush_to_png() static. --- src/common/guac_surface.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/common/guac_surface.c b/src/common/guac_surface.c index 2811f9d2..c2846153 100644 --- a/src/common/guac_surface.c +++ b/src/common/guac_surface.c @@ -248,7 +248,7 @@ static void __guac_common_mark_dirty(guac_common_surface* surface, int x, int y, /** * Flushes the PNG update currently described by the dirty rectangle within the - * given surface to that surface's PNG queue. The MUST be space within the + * given surface to that surface's PNG queue. There MUST be space within the * queue. * * @param surface The surface to flush. @@ -875,7 +875,14 @@ void guac_common_surface_reset_clip(guac_common_surface* surface) { surface->bounds_height = surface->height; } -void __guac_common_surface_flush_to_png(guac_common_surface* surface) { +/** + * Flushes the PNG update currently described by the dirty rectangle within the + * given surface directly to a "png" instruction, which is sent on the socket + * associated with the surface. + * + * @param surface The surface to flush. + */ +static void __guac_common_surface_flush_to_png(guac_common_surface* surface) { if (surface->dirty) {