Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0ef47568 authored by Andreas Huber's avatar Andreas Huber
Browse files

Apparently strlcpy is not part of a standard linux distribution... Unbreaking the sim build.

parent 97494da9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -74,7 +74,8 @@ OMX_ERRORTYPE OMXSoftwareCodecsPlugin::enumerateComponents(
        return OMX_ErrorNoMore;
    }

    strlcpy(name, kComponentInfos[index].mName, size);
    strncpy(name, kComponentInfos[index].mName, size - 1);
    name[size - 1] = '\0';

    return OMX_ErrorNone;
}