␊ |
//==========================================================================␊ |
␊ |
static const char * getNameForValue( const struct NamedValue * nameTable,␊ |
static const char *getNameForValue( const struct NamedValue *nameTable,␊ |
unsigned char value )␊ |
{␊ |
␉const struct NamedValue *np;␊ |
|
␉␉␉valid = false;␊ |
␉␉}␊ |
␉}␊ |
␉␊ |
␊ |
␉if(!valid)␊ |
␉{␊ |
␉␉int fh = -1;␊ |
|
␉␉␉return;␊ |
␉␉}␊ |
␊ |
␉␉strcpy(str + len, bvr->OSisInstaller ? " (Installer) " : " ");␊ |
␉␉len += bvr->OSisInstaller ? 13 : 1;␊ |
␉␉strcpy(str + len, bvr->OSisInstaller ? " (Installer " : " (");␊ |
␉␉len += bvr->OSisInstaller ? 12 : 2;␊ |
␉␉strcpy(str + len, bvr->OSVersion);␊ |
␉␉len += strlen(bvr->OSVersion);␊ |
␉␉strcpy(str + len, ") ");␊ |
␉␉len += 2;␊ |
␊ |
␉␉strMaxLen -= len;␊ |
␉␉p += len;␊ |
␉}␊ |