Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix undefined reference #445

Merged
merged 1 commit into from
Nov 12, 2011
Merged

fix undefined reference #445

merged 1 commit into from
Nov 12, 2011

Conversation

jlaire
Copy link
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

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
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