mirror of
https://github.com/lifegpc/msg-tool.git
synced 2026-07-08 01:31:53 +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)?;
|
let mut text = encode_string(encoding, &s, false)?;
|
||||||
if text.contains(&self.info.deckey) {
|
if text.contains(&self.info.deckey) {
|
||||||
eprintln!(
|
eprintln!(
|
||||||
"Warning: text contains deckey, text may be truncated: {}",
|
"Warning: text contains deckey 0x{:02X}, text may be truncated: {}",
|
||||||
s
|
self.info.deckey, s,
|
||||||
);
|
);
|
||||||
crate::COUNTER.inc_warning();
|
crate::COUNTER.inc_warning();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user