removed a warning #2

Merged
merged 2 commits into from Jan 6, 2012

Conversation

Projects
None yet
2 participants
@domm
Contributor

domm commented Oct 18, 2010

Hi!

Rendering an image sometimes caused warnings:
Use of uninitialized value $w in string eq at /home/domm/perl/other/text-textile/lib/Text/Textile.pm line 1559.
Use of uninitialized value $h in string eq at /home/domm/perl/other/text-textile/lib/Text/Textile.pm line 1560.

My first commit adds a rather simple test to render an image which shows the warnings
The second commit fixes the code that causes the warning.

Please apply if you like it...

bradchoate added a commit that referenced this pull request Jan 6, 2012

Merge pull request #2 from domm/master
Removes warnings when parsing an embedded image.

@bradchoate bradchoate merged commit d683d96 into bradchoate:master Jan 6, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment