updated docs and path to my repo
[sdlgit/SDL-Site.git] / pages / SDL-Pango.html-inc
index 5eb28b6..54b8861 100644 (file)
@@ -53,7 +53,7 @@
 
  SDL::Pango::init();
 
- my $context = new SDL::Pango::Context;
+ my $context = SDL::Pango::Context->new;
  SDL::Pango::set_default_color($context, 0xA7C344FF, 0);
  SDL::Pango::set_markup($context, 'Hallo <b>W<span foreground="red">o</span><i>r</i><u>l</u>d</b>!', -1);