Ignore:
Timestamp:
Aug 21, 2002, 6:41:36 PM (23 years ago)
Author:
sandervl
Message:

fixed bugfix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/oslibwin.cpp

    r9076 r9077  
    1 /* $Id: oslibwin.cpp,v 1.124 2002-08-21 15:40:28 sandervl Exp $ */
     1/* $Id: oslibwin.cpp,v 1.125 2002-08-21 16:41:36 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    11181118    swctrl.bProgType     = PROG_PM;
    11191119    if(title) {
    1120         CharToOemBuffA( title, swctrl.szSwtitle, min(strlen(title),MAXNAMEL+4) );
     1120        CharToOemBuffA( title, swctrl.szSwtitle, min(strlen(title)+1,MAXNAMEL+4) );
    11211121        swctrl.szSwtitle[MAXNAMEL+4-1] = 0;
    11221122    }
     
    11431143    swctrl.bProgType     = PROG_PM;
    11441144    if(title) {
    1145         CharToOemBuffA( title, swctrl.szSwtitle, min(strlen(title),MAXNAMEL+4) );
     1145        CharToOemBuffA( title, swctrl.szSwtitle, min(strlen(title)+1,MAXNAMEL+4) );
    11461146        swctrl.szSwtitle[MAXNAMEL+4-1] = 0;
    11471147    }
Note: See TracChangeset for help on using the changeset viewer.