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

Commit cf01f294 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[res] Fix the cookie index in OpenNonAsset()" into main

parents 03042818 f48a56f6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -603,7 +603,7 @@ std::unique_ptr<Asset> AssetManager2::OpenNonAsset(const std::string& filename,
    std::unique_ptr<Asset> asset = assets->GetAssetsProvider()->Open(filename, mode);
    if (asset) {
      if (out_cookie != nullptr) {
        *out_cookie = i;
        *out_cookie = i - 1;
      }
      return asset;
    }