mirror of
https://github.com/lifegpc/msg-tool.git
synced 2026-06-06 21:08:48 +08:00
Better warning message
This commit is contained in:
@@ -304,8 +304,8 @@ impl Script for CircusMesScript {
|
||||
let mut text = encode_string(encoding, &s, false)?;
|
||||
if text.contains(&self.info.deckey) {
|
||||
eprintln!(
|
||||
"Warning: text contains deckey, text may be truncated: {}",
|
||||
s
|
||||
"Warning: text contains deckey 0x{:02X}, text may be truncated: {}",
|
||||
self.info.deckey, s,
|
||||
);
|
||||
crate::COUNTER.inc_warning();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user