Skip to content

Commit

Permalink
Fix C++ comment continuation on wrapped lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Gardner authored and Ben Gardner committed Dec 5, 2012
1 parent a5b7aad commit 44e0253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/output.cpp
Expand Up @@ -1120,7 +1120,7 @@ static chunk_t *output_comment_cpp(chunk_t *first)
/* CPP comments can't be grouped unless they are converted to C comments */
if (!cpd.settings[UO_cmt_cpp_to_c].b)
{
cmt.cont_text = (cpd.settings[UO_sp_cmt_cpp_start].a & AV_REMOVE) ? "//" : "// ";
cmt.cont_text = (cpd.settings[UO_sp_cmt_cpp_start].a == AV_REMOVE) ? "//" : "// ";
LOG_CONTTEXT();

if (cpd.settings[UO_sp_cmt_cpp_start].a == AV_IGNORE)
Expand Down

0 comments on commit 44e0253

Please sign in to comment.