Fix @#$@#$$@# windows line endings introduced via Sublime Text copy/paste

master
callum_linden 2016-01-21 16:20:51 -08:00
parent 0f265ebf72
commit c41b94cd5e
1 changed files with 10 additions and 10 deletions

View File

@ -312,13 +312,13 @@ void MediaPluginCEF::onFileDownloadCallback(const std::string filename)
//
const std::string MediaPluginCEF::onFileDialogCallback()
{
mPickedFile.clear();
LLPluginMessage message(LLPLUGIN_MESSAGE_CLASS_MEDIA, "pick_file");
message.setValueBoolean("blocking_request", true);
sendMessage(message);
mPickedFile.clear();
LLPluginMessage message(LLPLUGIN_MESSAGE_CLASS_MEDIA, "pick_file");
message.setValueBoolean("blocking_request", true);
sendMessage(message);
return mPickedFile;
}
@ -666,9 +666,9 @@ void MediaPluginCEF::receiveMessage(const char* message_string)
{
mEnableMediaPluginDebugging = message_in.getValueBoolean("enable");
}
if (message_name == "pick_file_response")
{
mPickedFile = message_in.getValue("file");
if (message_name == "pick_file_response")
{
mPickedFile = message_in.getValue("file");
}
if (message_name == "auth_response")
{