Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
uuid: Remove newline if there is a newline.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Wed, 11 Jan 2017 19:32:13 +0000 (19:32 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Wed, 11 Jan 2017 19:32:13 +0000 (19:32 +0000)
source/common/uuid.cpp

index 2831e88..224ec55 100644 (file)
@@ -54,6 +54,12 @@ string GenerateUUID()
     
 #endif
     
+       if (uuidout.back() == '\n'){
+               
+               uuidout.erase(uuidout.end()-1);
+               
+       }
+       
        return uuidout;
         
 }
\ No newline at end of file
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy