Skip to content
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.

Commit

Permalink
Actually output ppm when piping to stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
atx authored and emersion committed Jun 3, 2019
1 parent 5032b94 commit f9541db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ int main(int argc, char *argv[]) {
if (strcmp(output_filename, "-") == 0) {
switch (output_filetype) {
case GRIM_FILETYPE_PPM:
status = cairo_surface_write_to_png_stream(surface, write_func, stdout);
status = cairo_surface_write_to_ppm_stream(surface, write_func, stdout);
break;
case GRIM_FILETYPE_PNG:
status = cairo_surface_write_to_png_stream(surface, write_func, stdout);
Expand Down

0 comments on commit f9541db

Please sign in to comment.