~ruther/CTU-FEE-B0B35APO-Semestral-project

e8e5e259a67a204766a9dcc5fbb3b68c0674af94 — František Boháček 3 years ago a69ba05
fix: close program after not loading image
1 files changed, 1 insertions(+), 0 deletions(-)

M image-viewer/src/main.c
M image-viewer/src/main.c => image-viewer/src/main.c +1 -0
@@ 68,6 68,7 @@ int main(int argc, char *argv[])

  if (viewer.error != IMERR_SUCCESS) {
    logger_error(&logger, __FILE__, __FUNCTION__, __LINE__, "Could not load image %d", viewer.error);
    return 1;
  }

  logger_info(&logger, __FILE__, __FUNCTION__, __LINE__,

Do not follow this link