Changeset 339 for cpp/frams


Ignore:
Timestamp:
03/19/15 00:53:12 (7 years ago)
Author:
Maciej Komosinski
Message:

Use #define FRAMSG_FORMAT in stdouterr.cpp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/errmgr/stdouterr.cpp

    r336 r339  
    1414        if (w < -1) w = -1; else if (w>3) w = 3;
    1515#ifdef SHP
    16         AppLog("[%s] %s.%s: %s\n",MSG_LEVEL[w+1],o,m,bl);
     16        AppLog(FRAMSG_FORMAT "\n",MSG_LEVEL[w+1],o,m,bl);
    1717#else
    1818        if (file)
    19                 file->printf("[%s] %s.%s: %s\n", MSG_LEVEL[w + 1], o, m, bl);
     19                file->printf(FRAMSG_FORMAT "\n", MSG_LEVEL[w + 1], o, m, bl);
    2020        else
    21                 printf("[%s] %s.%s: %s\n", MSG_LEVEL[w + 1], o, m, bl);
     21                printf(FRAMSG_FORMAT "\n", MSG_LEVEL[w + 1], o, m, bl);
    2222#endif
    2323}
Note: See TracChangeset for help on using the changeset viewer.