Skip to content

fix undefined reference#445

Merged
cloudhead merged 1 commit intoless:masterfrom
jlaire:patch-1
Nov 12, 2011
Merged

fix undefined reference#445
cloudhead merged 1 commit intoless:masterfrom
jlaire:patch-1

Conversation

@jlaire
Copy link
Copy Markdown
Contributor

@jlaire jlaire commented Nov 4, 2011

At line 110 in the same file, writeError is called without a second argument which makes options undefined and options.color an error.

If moving the line before all vars is against your coding standards, an alternative is using options && options.color or doing the initialization of stylize later.

@marcoleong
Copy link
Copy Markdown

Goods, I just met this problems. Applied, and it works , Thx

cloudhead pushed a commit that referenced this pull request Nov 12, 2011
fix undefined reference
@cloudhead cloudhead merged commit 7401f5a into less:master Nov 12, 2011
@cloudhead
Copy link
Copy Markdown
Member

Thank you!

stefanklug pushed a commit to stefanklug/carto that referenced this pull request Jan 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants