1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-18 04:17:08 +00:00
termux-packages/x11-packages/tageditor/cli-helper.cpp.patch
2022-12-15 10:11:59 +00:00

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)