Skip to content

Commit

Permalink
Remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
kphoenix137 committed Sep 26, 2024
1 parent 2e0b6f2 commit 629e236
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Source/capture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,6 @@ FILE *CaptureFile(std::string *dstPath)
return OpenFile(dstPath->c_str(), "wb");
}

std::string FileNameForChat(const std::string &fullPath)
{
// Extracts just the file name from the full path
auto pos = fullPath.find_last_of("\\/");
if (pos == std::string::npos) {
return fullPath;
}
return fullPath.substr(pos + 1);
}

} // namespace

void CaptureScreen()
Expand Down

0 comments on commit 629e236

Please sign in to comment.