Skip to content

Respect the column limit when aligning consecutive macros #52985

@Julien-Elie

Description

@Julien-Elie

When aligning consecutive macros, the maximum line length does not seem to be taken into account:

#define HDR_LASTCHAR_SAVE(_x)             hc[(_x)].LastChar = hc[(_x)].Value[hc[_x].Length]
#define HDR__X_ORIGINAL_NNTP_POSTING_HOST 68

which is larger than the expected ColumnLimit of 79.

Whereas the first line is properly wrapped if it is the one that causes the exceed:

#define HDR_LASTCHAR_SAVE(_xxxx) \
    hc[(_xxxx)].LastChar = hc[(_xxxx)].Value[hc[_xxxx].Length]
#define HDR__X_ORIGINAL_NNTP_POSTING_HOST 68

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions