mirror of
https://github.com/nothings/stb-imv
synced 2024-11-21 21:11:51 +03:00
fix license, add new secret feature
This commit is contained in:
parent
eb8babe4db
commit
1f9416227c
13
imv.c
13
imv.c
@ -11,7 +11,7 @@
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License star
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
@ -2432,6 +2432,17 @@ int WINAPI MainWndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||
if (cur) frame(cur);
|
||||
break;
|
||||
|
||||
case 'M' | MY_CTRL: {
|
||||
FILE *f = fopen("c:/imv(stb)_marked.txt", "a");
|
||||
if (f) {
|
||||
char buffer[1024];
|
||||
stb_fullpath(buffer, 1024, source_c->filename);
|
||||
fprintf(f, "%s\n", buffer);
|
||||
fclose(f);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
case 'C' | MY_CTRL: {
|
||||
HGLOBAL hMem;
|
||||
char buffer[1024], *t;
|
||||
|
Loading…
Reference in New Issue
Block a user