From: Gerald J. S. <gs...@us...> - 2008-06-04 11:23:13
|
Update of /cvsroot/xastir/xastir/src In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv20254 Modified Files: db.c Log Message: Allow Objects that have space in name to work with Tactical Call Sign addition. Index: db.c =================================================================== RCS file: /cvsroot/xastir/xastir/src/db.c,v retrieving revision 1.627 retrieving revision 1.628 diff -C2 -d -r1.627 -r1.628 *** db.c 30 May 2008 15:32:25 -0000 1.627 --- db.c 4 Jun 2008 11:23:19 -0000 1.628 *************** *** 6098,6102 **** xastir_snprintf(temp2, sizeof(temp2), "%s", temp); // Only keep the station info, remove Tactical Call Sign ! temp2[strcspn(temp2, " ")] = '\0'; // Call it with the global parameter at the last, so we --- 6098,6103 ---- xastir_snprintf(temp2, sizeof(temp2), "%s", temp); // Only keep the station info, remove Tactical Call Sign ! temp2[strcspn(temp2, "(")] = '\0'; ! remove_trailing_spaces(temp2); // Call it with the global parameter at the last, so we |