From 576e2d6f38fd83ad22da1341de43ffa2f7dad9d5 Mon Sep 17 00:00:00 2001 From: Cobrand Date: Tue, 2 May 2017 08:41:46 +0200 Subject: [PATCH] Update changelog for VideoSubsys::display_name --- changelog.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/changelog.md b/changelog.md index d53d2ea7..3b90772a 100644 --- a/changelog.md +++ b/changelog.md @@ -63,3 +63,8 @@ let color = Color::RGB(255, 0, 0); let (r, g, b) = color.rgb(); let (r, g, b, a) = color.rgba(); ``` + +[PR #651](https://github.com/AngryLawyer/rust-sdl2/pull/629) + +* **VideoSystem::display_name** now returns a `Result` instead of a `String`. +* This prevents a segfault when the requested display index is out of bounds