mirror of
https://github.com/tildearrow/furnace.git
synced 2025-01-03 06:01:29 +00:00
GUI: don't care about clipboard data version
This commit is contained in:
parent
60e37714da
commit
f0d3ad1c82
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ void FurnaceGUI::doPaste(PasteMode mode) {
|
|||
int startOff=-1;
|
||||
bool invalidData=false;
|
||||
if (data.size()<2) return;
|
||||
if (data[0]!=fmt::sprintf("org.tildearrow.furnace - Pattern Data (%d)",DIV_ENGINE_VERSION)) return;
|
||||
if (data[0].find("org.tildearrow.furnace - Pattern Data")!=0) return;
|
||||
if (sscanf(data[1].c_str(),"%d",&startOff)!=1) return;
|
||||
if (startOff<0) return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue