From 40f0a9ece944e8f08596bc6138f54c689c03df7e Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 8 May 2012 16:17:27 +0400 Subject: [PATCH] driver/radiotext.cpp: little syntax fix Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/f8a84f8787d6725d43c5f349057d45acd3f038e0 Author: [CST] Focus Date: 2012-05-08 (Tue, 08 May 2012) --- src/driver/radiotext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver/radiotext.cpp b/src/driver/radiotext.cpp index c447f8ec3..a32cc059e 100644 --- a/src/driver/radiotext.cpp +++ b/src/driver/radiotext.cpp @@ -427,7 +427,7 @@ fprintf(stderr, "MEC=0x%02x DSN=0x%02x PSN=0x%02x MEL=%02d STATUS=0x%02x MFL=%02 RTP_TToggle = 0x03; // Bit 0/1 = Title/Artist RT_MsgShow = true; S_RtOsd = 1; - RT_Info = (RT_Info > 0) ? : 1; + RT_Info = (RT_Info > 0) ? RT_Info : 1; RadioStatusMsg(); }