
--- a/src/persp/dbgperspective/nmv-dbg-perspective.cc	2017-09-20 16:02:08.953676793 +0200
+++ b/src/persp/dbgperspective/nmv-dbg-perspective.cc	2017-09-20 16:02:36.863981316 +0200
@@ -5720,7 +5720,7 @@ DBGPerspective::switch_to_source_code ()
 
     Glib::RefPtr<Gsv::Buffer> source_buf;
     UString source_path;
-    if ((source_buf = source_editor->get_non_assembly_source_buffer ()) == 0) {
+    if (!(source_buf = source_editor->get_non_assembly_source_buffer ())) {
         // Woops!
         // We don't have any source code buffer. Let's try hard to get
         // the source code corresponding to the current frame. For that,
--- a/src/persp/dbgperspective/nmv-dbg-perspective.cc	2017-09-20 15:24:58.771249130 +0200
+++ b/src/persp/dbgperspective/nmv-dbg-perspective.cc	2017-09-20 15:25:04.202113802 +0200
@@ -5672,7 +5672,7 @@ DBGPerspective::switch_to_asm (const com
     a_source_editor->clear_decorations ();
 
     Glib::RefPtr<Gsv::Buffer> asm_buf;
-    if ((asm_buf = a_source_editor->get_assembly_source_buffer ()) == 0) {
+    if (!(asm_buf = a_source_editor->get_assembly_source_buffer ())) {
         SourceEditor::setup_buffer_mime_and_lang (asm_buf, "text/x-asm");
         a_source_editor->register_assembly_source_buffer (asm_buf);
         asm_buf = a_source_editor->get_assembly_source_buffer ();
