• Timm Bäder's avatar
    print-editor: Fix a wrong comparison · 3a1e019e
    Timm Bäder authored
    If error is NULL, replacing the file contents worked and we don't
    show the error dialog. The previous version pretty explicitly
    dereferenced a NULL pointer by first ensuring that error is NULL and
    then accessing error->message.
    Found by scan-build
print-editor.c 25.4 KB