Skip to content

Commit a88b27e

Browse files
committed
Update JpegToDib.cpp
1 parent 31cfa08 commit a88b27e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

BmpHeaderViewer/JpegToDib.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,8 @@ void set_error_manager(j_common_ptr pjInfo, j_error_mgr* pjError)
323323
pjError->error_exit = my_error_exit;
324324
pjError->output_message = my_output_message;
325325
pjError->emit_message = my_emit_message;
326+
327+
// Add application-specific error messages
326328
pjError->addon_message_table = my_message_table;
327329
pjError->first_addon_message = JMSG_FIRSTADDONCODE;
328330
pjError->last_addon_message = JMSG_LASTADDONCODE;

0 commit comments

Comments
 (0)