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=3b54d5c803cc47ea8c358a71283a90e0c16f182e;hp=37d7b00fc9ea03e6f40edc4392cf467169a3ac1e;hb=610495b8647d1a25c98bf0773ccc0dd6d1996263;hpb=d8cbd048a3d77a627c97eba193afd3c0514a789a diff --git a/dali-toolkit/internal/text/text-run-container.h b/dali-toolkit/internal/text/text-run-container.h index 37d7b00..3b54d5c 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) 2019 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