Chameleon

Chameleon Commit Details

Date:2015-03-10 06:37:36 (4 years 3 months ago)
Author:ErmaC
Commit:2598
Parents: 2597
Message:Slightly improve decive selection name - add os version. (credits to meklort)
Changes:
M/trunk/i386/libsaio/disk.c

File differences

trunk/i386/libsaio/disk.c
233233
234234
235235
236
236
237237
238238
239239
......
17801780
17811781
17821782
1783
1783
17841784
17851785
17861786
......
23012301
23022302
23032303
2304
2305
2304
2305
2306
2307
2308
2309
2310
23062311
23072312
23082313
//==========================================================================
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;
}

Archive Download the corresponding diff file

Revision: 2598