Skip to content

Commit

Permalink
レビュー指摘対応
Browse files Browse the repository at this point in the history
  • Loading branch information
beru committed Sep 22, 2019
1 parent a5cd026 commit 4a9212e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sakura_core/view/colors/CColor_Comment.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class CColor_LineComment : public CColorStrategy{
// 行型コメントの始点記号が入力されているか
auto& lineComment = m_pTypeData->m_cLineComment;
for (int i = 0; i < COMMENT_DELIMITER_NUM; ++i) {
if (wcslen(lineComment.getLineComment(i)))
if (lineComment.getLineComment(i)[0])
return true;
}
return false;
Expand Down Expand Up @@ -73,7 +73,7 @@ class CColor_BlockComment : public CColorStrategy{
if (!m_pTypeData->m_ColorInfoArr[COLORIDX_COMMENT].m_bDisp)
return false;
// ブロック型の始点・終端記号が入力されているか
return m_pcBlockComment->getBlockFromLen() > 0 && m_pcBlockComment->getBlockToLen();
return m_pcBlockComment->getBlockFromLen() > 0 && m_pcBlockComment->getBlockToLen() > 0;
}
private:
EColorIndexType m_nType;
Expand Down

0 comments on commit 4a9212e

Please sign in to comment.