From 764c355550133b67e588d996c1a18a4937731dcb Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 25 Jul 2018 16:06:21 +0200 Subject: Add '@' as binder middle name separator. Used binder name if set using the application id which use '@' to separate name from version. Change-Id: I1c4d963250ac17d4e4104b6cc69aa08b8fa95505 Signed-off-by: Romain Forlot --- filescan-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filescan-utils.c b/filescan-utils.c index 05e13f9..f58a2c9 100644 --- a/filescan-utils.c +++ b/filescan-utils.c @@ -117,7 +117,7 @@ const char* GetMiddleName(const char* name) int start; start = idx + 1; for (int jdx = start;; jdx++) { - if (fullname[jdx] == '-' || fullname[jdx] == '.' || fullname[jdx] == '\0') { + if (fullname[jdx] == '-' || fullname[jdx] == '@' || fullname[jdx] == '.' || fullname[jdx] == '\0') { fullname[jdx] = '\0'; return &fullname[start]; } -- cgit 1.2.3-korg