commit fc5e0f2b6bb56a6e59d7bcf0e944e7690a6e3b62
parent 2ebb322f4b521e2829fc915591fce5ecba13a7cc
Author: cfillion <cfillion@users.noreply.github.com>
Date: Thu, 5 May 2016 03:04:26 -0400
fix windows build, was broken since a6f2f586541802dc4caf4a73f554962287ed7483 and 7713f882586a4f55e600e3e8e1b412da4e335bf4
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/manager.cpp b/src/manager.cpp
@@ -176,7 +176,7 @@ void Manager::refresh()
const vector<int> selection = m_list->selection();
vector<string> selected(selection.size());
for(size_t i = 0; i < selection.size(); i++)
- selected[i] = m_list->row(selection[i])[0];
+ selected[i] = from_autostring(m_list->row(selection[i])[0]);
m_list->clear();
diff --git a/src/reapack.cpp b/src/reapack.cpp
@@ -264,7 +264,7 @@ void ReaPack::import(const Remote &remote, HWND parent)
auto_char msg[1024] = {};
auto_snprintf(msg, auto_size(msg),
- "%s has been successfully imported into your repository list.",
+ AUTO_STR("%s has been successfully imported into your repository list."),
make_autostring(remote.name()).c_str());
MessageBox(parent, msg, Import::TITLE, MB_OK);
}