From 4922e3f1d771392b94c9852fe747cb02d84581e0 Mon Sep 17 00:00:00 2001 From: Wesnydy Ribeiro Date: Sat, 1 Aug 2015 15:56:21 -0300 Subject: [PATCH] Pose neutra no caso de sentença com baixa qualidade --- renderer/src/renderer.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/renderer/src/renderer.cpp b/renderer/src/renderer.cpp index 3980bcf..5674aee 100644 --- a/renderer/src/renderer.cpp +++ b/renderer/src/renderer.cpp @@ -37,7 +37,11 @@ void Renderer::serverInitialize(){ } void Renderer::receiveGlosa(std::string glosa, int64_t pts) { - glosa_copy = glosa; + if(glosa == "SENTENCACOMBAIXAQUALIDADE") + glosa_copy = "_DEFAULT"; + else + glosa_copy = glosa; + ostringstream oss; oss << pts; glosa_copy += "#"; // formato da string enviada p/ o player: Glosa#pts -- libgit2 0.21.2