未验证 提交 cb3fa70c 编写于 作者: E Ebrahim Byagowi 提交者: GitHub

[dwrite] Cosmetic change (#963)

上级 09d5e546
/*
/*
* Copyright © 2015-2018 Ebrahim Byagowi
*
* This is part of HarfBuzz, a text shaping library.
......@@ -304,8 +304,8 @@ public:
inline bool ContainsTextPosition (uint32_t aTextPosition) const
{
return aTextPosition >= mTextStart
&& aTextPosition < mTextStart + mTextLength;
return aTextPosition >= mTextStart &&
aTextPosition < mTextStart + mTextLength;
}
Run *nextRun;
......@@ -488,8 +488,7 @@ protected:
mCurrentRun = run;
return;
}
//NS_NOTREACHED ("We should always be able to find the text position in one \
// of our runs");
// NS_NOTREACHED ("We should always be able to find the text position in one of our runs");
}
void SplitCurrentRun (uint32_t splitPosition)
......
......@@ -30,8 +30,9 @@
HB_BEGIN_DECLS
HB_EXTERN hb_bool_t
hb_directwrite_shape_experimental_width(hb_font_t *font, hb_buffer_t *buffer,
const hb_feature_t *features, unsigned int num_features, float width);
hb_directwrite_shape_experimental_width (hb_font_t *font, hb_buffer_t *buffer,
const hb_feature_t *features,
unsigned int num_features, float width);
HB_END_DECLS
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册