Changeset 2496 for trunk/jons-gtk-gui

Show
Ignore:
Timestamp:
03/04/01 08:54:11 (8 years ago)
Author:
emojon
Message:

Apparently there is a new function to fix the formating of licq versions >= 1.0.0

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/jons-gtk-gui/src/key_request.cpp

    r2129 r2496  
    6868        case SECURE_CHANNEL_SUPPORTED: 
    6969            strncpy(secure_info, g_strdup_printf( 
    70                 "The remote uses Licq v0.%d/SSL.", 
    71                     user->LicqVersion()), 128); 
     70                "The remote uses Licq %s/SSL.", 
     71                CUserEvent::LicqVersionToString(user->LicqVersion())), 128); 
    7272            break; 
    7373 
    7474        case SECURE_CHANNEL_NOTSUPPORTED: 
    7575            strncpy(secure_info, g_strdup_printf( 
    76                 "The remote uses Licq v0.%d, however it\n" 
     76                "The remote uses Licq %s, however it\n" 
    7777                "has no secure channel support compiled in.\n" 
    7878                "This probably won't work.", 
    79                     user->LicqVersion()), 128); 
     79                    CUserEvent::LicqVersionToString(user->LicqVersion())), 128); 
    8080            break; 
    8181