tageditor: Fix FieldId::fromTagDenotation
This commit is contained in:
parent
e2ff2fe0ce
commit
89f0aabb24
|
@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="A tag editor with Qt GUI and command-line interface. Sup
|
|||
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=3.7.6
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_SRCURL=https://github.com/Martchus/tageditor/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=48991e04a95caeaa60a458a3c05b127d96268a2c3092487010ba7f1fe7c94f3e
|
||||
TERMUX_PKG_DEPENDS="libc++, libc++utilities, qt5-qtbase, qt5-qtdeclarative, qtutilities, tagparser"
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
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)
|
Loading…
Reference in New Issue