Changeset 885efac6
- Timestamp:
- 2007-12-16T02:55:56Z (17 years ago)
- Branches:
- master
- Children:
- bdde805
- Parents:
- 93052e1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
skype/skype.c
r93052e1 r885efac6 351 351 { 352 352 if(strlen(sd->info_tz)) 353 { 354 // FIXME secs -> str 353 355 g_string_append_printf(st, "Local Time: %s\n", sd->info_tz); 356 } 354 357 g_free(sd->info_tz); 355 358 } … … 357 360 { 358 361 if(strlen(sd->info_seen)) 362 { 363 // FIXME unixtimestamp -> str 359 364 g_string_append_printf(st, "Last Seen: %s\n", sd->info_seen); 365 } 360 366 g_free(sd->info_seen); 361 367 } … … 363 369 { 364 370 if(strlen(sd->info_birthday)) 371 { 372 // FIXME 19880101 -> str 365 373 g_string_append_printf(st, "Birthday: %s\n", sd->info_birthday); 374 g_string_append_printf(st, "Age:\n"); 375 } 366 376 g_free(sd->info_birthday); 367 377 } … … 369 379 { 370 380 if(strlen(sd->info_sex)) 381 { 382 // FIXME: UNKNOWN -> Unknown 371 383 g_string_append_printf(st, "Gender: %s\n", sd->info_sex); 384 } 372 385 g_free(sd->info_sex); 373 386 } … … 375 388 { 376 389 if(strlen(sd->info_language)) 377 g_string_append_printf(st, "Language: %s\n", sd->info_language); 390 { 391 char *iptr = strchr(sd->info_language, ' '); 392 if(iptr) 393 iptr++; 394 else 395 iptr = sd->info_language; 396 g_string_append_printf(st, "Language: %s\n", iptr); 397 } 378 398 g_free(sd->info_language); 379 399 } … … 381 401 { 382 402 if(strlen(sd->info_country)) 383 g_string_append_printf(st, "Country: %s\n", sd->info_country); 403 { 404 char *iptr = strchr(sd->info_country, ' '); 405 if(iptr) 406 iptr++; 407 else 408 iptr = sd->info_country; 409 g_string_append_printf(st, "Country: %s\n", sd->iptr); 410 } 384 411 g_free(sd->info_country); 385 412 }
Note: See TracChangeset
for help on using the changeset viewer.