termux-packages/x11-packages/tageditor/cli-helper.cpp.patch

14 lines
469 B
Diff

https://github.com/termux/termux-packages/issues/13590
--- a/cli/helper.cpp
+++ b/cli/helper.cpp
@@ -778,7 +778,7 @@ FieldId FieldId::fromTagDenotation(std::
if (knownField == KnownField::Invalid) {
throw ConversionException("generic field name is unknown");
}
- return FieldId(knownField, nullptr, 0);
+ return FieldId(knownField, denotation.data(), denotation.size());
}
FieldId FieldId::fromTrackDenotation(std::string_view denotation)