//--------- Begin of static function disp_detail ---------// // static void disp_detail(int refreshFlag) { if( browse_nation.recno()==0 ) // no records in the list return; switch( info.nation_report_mode ) { case NATION_REPORT_INFO: disp_nation_info(); break; case NATION_REPORT_TALK: disp_nation_talk(); break; case NATION_REPORT_CHAT: disp_nation_chat(refreshFlag); break; case NATION_REPORT_TALK_LOG: disp_talk_msg_sent(refreshFlag); break; case NATION_REPORT_DEBUG: disp_debug_info(); break; } }
//--------- Begin of static function disp_detail ---------// // static void disp_detail(int refreshFlag) { if( browse_nation.recno()==0 ) // no records in the list return; // ##### patch begin Gilbert 26/8 ########// if( refreshFlag == INFO_REPAINT || info.nation_report_mode != last_nation_report_mode ) { refreshFlag = INFO_REPAINT; last_nation_report_mode = info.nation_report_mode; } // ##### end begin Gilbert 26/8 ########// switch( info.nation_report_mode ) { case NATION_REPORT_INFO: disp_nation_info(); break; case NATION_REPORT_TALK: disp_nation_talk(); break; case NATION_REPORT_CHAT: disp_nation_chat(refreshFlag); break; case NATION_REPORT_TALK_LOG: disp_talk_msg_sent(refreshFlag); break; case NATION_REPORT_DEBUG: disp_debug_info(); break; } }