Skip to content

Commit c22b5bf

Browse files
author
Ajay Sreedhar
committed
change: fix typos and window title
1 parent e2bc920 commit c22b5bf

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Node.js C++ Addon - Example
22

3-
> Hardware accelarated image rendering using SDL2
3+
> Hardware accelarated image rendering with SDL2
44
55
Node.js follows a single threaded, event-driven approach. Hence it is not advised to write CPU intensive applications in
66
JavaScript and run them with Node.js as it may obstruct the event loop.

‎src/main_window.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ MainWindow::MainWindow (int width, int height) {
2323
this->width = width;
2424
this->height = height;
2525

26-
this->window = SDL_CreateWindow("Picture Frame",
26+
this->window = SDL_CreateWindow("Node.js SDL Example",
2727
SDL_WINDOWPOS_CENTERED,SDL_WINDOWPOS_CENTERED,width, height,0); // NOLINT(hicpp-signed-bitwise)
2828

2929
if ( !this->window ) {

0 commit comments

Comments
 (0)