[PR #2791] [MERGED] Remove null check from glyph run drawing #25070

Open
opened 2026-01-31 09:07:06 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/2791
Author: @miniksa
Created: 9/17/2019
Status: Merged
Merged: 9/17/2019
Merged by: @DHowett-MSFT

Base: masterHead: dev/miniksa/2724


📝 Commits (1)

  • d7c2e29 remove null check from glyph run drawing as it's truly optional. fix SAL markup where relevant.

📊 Changes

2 files changed (+6 additions, -7 deletions)

View changed files

📝 src/renderer/dx/CustomTextRenderer.cpp (+3 -4)
📝 src/renderer/dx/CustomTextRenderer.h (+3 -3)

📄 Description

Summary of the Pull Request

Removes the null check introduced for static analysis purposes as the parameter is truly optional.

PR Checklist

Validation Steps Performed

Changed the null check. Ran it with some emoji.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/2791 **Author:** [@miniksa](https://github.com/miniksa) **Created:** 9/17/2019 **Status:** ✅ Merged **Merged:** 9/17/2019 **Merged by:** [@DHowett-MSFT](https://github.com/DHowett-MSFT) **Base:** `master` ← **Head:** `dev/miniksa/2724` --- ### 📝 Commits (1) - [`d7c2e29`](https://github.com/microsoft/terminal/commit/d7c2e290ee97468c2430454e67f83a4020c90861) remove null check from glyph run drawing as it's truly optional. fix SAL markup where relevant. ### 📊 Changes **2 files changed** (+6 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `src/renderer/dx/CustomTextRenderer.cpp` (+3 -4) 📝 `src/renderer/dx/CustomTextRenderer.h` (+3 -3) </details> ### 📄 Description <!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Removes the null check introduced for static analysis purposes as the parameter is truly optional. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [X] Closes #2724 * [X] I work here * [X] No tests, I just ran it. * [X] No docs. * [X] I'm a core contributor <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed Changed the null check. Ran it with some emoji. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:07:06 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#25070