Skip to content
Snippets Groups Projects
Commit 39d26dda authored by Sven M. Hallberg's avatar Sven M. Hallberg
Browse files

fix segfault in pp_dict for 0-element dictionaries

the code would still try to print a last element.

also rearrange the loop to avoid code duplication and use delta-1
spaces after the comma.
parent 270eacde
No related branches found
No related tags found
Loading
Loading
  • pompolic @Pompolic ·
    Maintainer

    Oh, in hindsight it's embarrassing that I missed that segfault. Thanks!

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment