Skip to content
Snippets Groups Projects
Commit 1853fb82 authored by Edric Milaret's avatar Edric Milaret
Browse files

windows: change im filename

From im:{id} to im{id}

Refs #74571

Change-Id: Iaf65eeceaab5ad440213420a8dceec7c7f97279c
parent 6fb3e79e
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ endElementCallback(void * /*userData*/, const char * /*name*/)
bool InstantMessaging::saveMessage(const std::string &message, const std::string &author, const std::string &id, int mode)
{
std::ofstream File;
std::string filename = "im:" + id;
std::string filename = "im_" + id;
File.open(filename.c_str(), static_cast<std::ios_base::openmode>(mode));
if (!File.good() || !File.is_open())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment