X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-run-container.h;h=ecac39da740fa754689aa614da6fb7a53f0b1520;hp=37d7b00fc9ea03e6f40edc4392cf467169a3ac1e;hb=21f60153d688233c47b7e86dfe1d6e06450ed3a0;hpb=e5a56dace042712c1d89015bcb43942dfb237af8 diff --git a/dali-toolkit/internal/text/text-run-container.h b/dali-toolkit/internal/text/text-run-container.h index 37d7b00..ecac39d 100644 --- a/dali-toolkit/internal/text/text-run-container.h +++ b/dali-toolkit/internal/text/text-run-container.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_TEXT_STYLE_RUN_CONTAINER_H__ -#define __DALI_TOOLKIT_TEXT_STYLE_RUN_CONTAINER_H__ +#ifndef __DALI_TOOLKIT_TEXT_RUN_CONTAINER_H__ +#define __DALI_TOOLKIT_TEXT_RUN_CONTAINER_H__ /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2016 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -300,6 +300,7 @@ void ClearGlyphRuns( GlyphIndex startIndex, ( startIndex >= run->glyphRun.glyphIndex + run->glyphRun.numberOfGlyphs ) ) { // Run found. Nothing else to do. + break; } ++run; @@ -352,4 +353,4 @@ void ClearGlyphRuns( GlyphIndex startIndex, } // namespace Dali -#endif // __DALI_TOOLKIT_TEXT_STYLE_RUN_CONTAINER_H__ +#endif // __DALI_TOOLKIT_TEXT_RUN_CONTAINER_H__